bugfix
This commit is contained in:
parent
adf220f11e
commit
ea43ad9b6a
@ -1,7 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
set OSCDPATH="%ProgramFiles(x86)%\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg"
|
set OSCDPATH="%ProgramFiles(x86)%\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg"
|
||||||
set OSLABEL=WIN10-AUTO
|
set OSLABEL=WIN10-AUTO
|
||||||
set ISOFILE=c:\temp\%OSLABEL%.iso
|
set ISOFILE=%SystemDrive%\temp\%OSLABEL%.iso
|
||||||
|
|
||||||
IF %1.==. GOTO USAGE
|
IF %1.==. GOTO USAGE
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ echo.
|
|||||||
|
|
||||||
set USBDRIVE=%1
|
set USBDRIVE=%1
|
||||||
|
|
||||||
if /I %USBDRIVE% == C: (
|
if /I %USBDRIVE% == %SystemDrive% (
|
||||||
echo ERROR: cannot use drive %USBDRIVE% !
|
echo ERROR: cannot use drive %USBDRIVE% !
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user