bug in 06 script. fixed
This commit is contained in:
parent
faa15745d2
commit
593e82ecac
@ -76,22 +76,22 @@ tools\searchreplace %USBDRIVE%\autounattend.xml ___MYNAME___ "%MYNAME%"
|
||||
tools\searchreplace %USBDRIVE%\autounattend.xml ___MYPASS___ "%MYPASS%"
|
||||
tools\searchreplace %USBDRIVE%\autounattend.xml ___MYLANG___ "%LANG%"
|
||||
|
||||
if EXIST %SOURCES%\%BOOT% (
|
||||
echo.
|
||||
echo copying [ %BOOT% ] to drive %USBDRIVE% ...
|
||||
robocopy %SOURCES% %USBDRIVE%\sources %BOOT% /J /NJH
|
||||
) else (
|
||||
echo DOH! no %BOOT% in [ %SOURCES% ] found
|
||||
exit /b
|
||||
)
|
||||
|
||||
if EXIST %SOURCES%\%IMAGE% (
|
||||
|
||||
echo.
|
||||
echo copying [ %IMAGE% ] to drive %USBDRIVE% ...
|
||||
robocopy %SOURCES% %USBDRIVE%\sources %IMAGE% /J /NJH
|
||||
|
||||
) else (
|
||||
|
||||
rem echo.
|
||||
echo DOH! no %IMAGE% in [ %SOURCES% ] found
|
||||
exit /b
|
||||
|
||||
)
|
||||
|
||||
:CONT
|
||||
|
Loading…
Reference in New Issue
Block a user