maxXPsoft Posted July 19, 2013 Share Posted July 19, 2013 (edited) This works in Windows 7 installation but not in Windows 8.1. %MyDrive% returns blankAnd doi I really need the setlocal enableextensions?Running this from a usb jump drivethis is from here http://www.msfn.org/board/topic/138899-se7en-ua-with-sp1-inject-or-get-full-sp1-iso/#entry888486I changed it this way to skip the blank memory card slots and works in 7Color 1Fcd /d %~dp0setlocal enableextensions@ECHO OFFCLSFor %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO for /f "tokens=4,6*" %%k in ('vol %%I: 2^>nul^|find "drive"') DO IF EXIST %%I:\Windows\Panther SET MyDrive=%%kECHO.ECHO FOUND %MyDrive%:\Windows\Panther Edited July 19, 2013 by maxXPsoft Link to comment Share on other sites More sharing options...
jaclaz Posted July 19, 2013 Share Posted July 19, 2013 Maybe useful, maybe not:http://www.msfn.org/board/topic/137714-install-xp-from-a-ram-loaded-iso-image/?p=895361http://www.msfn.org/board/topic/120444-how-to-install-windows-from-usb-winsetupfromusb-with-gui/?p=1005836jaclaz Link to comment Share on other sites More sharing options...
maxXPsoft Posted July 26, 2013 Author Share Posted July 26, 2013 figured out what was up. tried to run too early before Windows is localized to a drive. Works fine after that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now