Unattended.bat file CD Drive letter discovery how to in Unattended Windows 2000/XP/2003 Posted July 21, 2011 Perhaps try this in your bat@Echo OffCLSMode 62, 9Color F9Set Char=C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:for %%i in (%Char%) do if exist %%i\SETUP.exe Goto Confirmfor %%i in (%Char%) do if not exist %%i\SETUP.exe Goto Missing:Confirmset CDROM=%%iset AnswerFile=.\unattend.txtset SetupFiles=%CDROM%:\amd64%CDROM%:\amd64\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langGoto TheEnd:Missingset CDROM=Error Unknown OccurCLSEcho.echo %CDROM%pauseGoto TheEnd:TheEndExitThanks a lot !! 0
Unattended.bat file CD Drive letter discovery how to
in Unattended Windows 2000/XP/2003
Posted
Thanks a lot !!