From 36ee58b92d1551e73743f75bfcc92163ef728e43 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Tue, 12 Jan 2021 19:22:13 +0100 Subject: [PATCH] . --- PrepareStick.cmd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PrepareStick.cmd b/PrepareStick.cmd index c1bb75c..5802278 100644 --- a/PrepareStick.cmd +++ b/PrepareStick.cmd @@ -30,13 +30,16 @@ if NOT EXIST %USBDRIVE% ( exit /b ) +set answer= :ask set /p answer="BIOS or UEFI setup (B/U)? " if /i "%answer:~,1%" EQU "B" ( + echo selected: BIOS copy /Y autounattend_BIOS.xml %USBDRIVE%\autounattend.xml GOTO CONT ) if /i "%answer:~,1%" EQU "U" ( + echo selected: UEFI copy /Y autounattend_UEFI.xml %USBDRIVE%\autounattend.xml GOTO CONT ) @@ -55,7 +58,7 @@ if EXIST %SOURCES%\install_FINAL.esd ( echo. if EXIST tools ( echo copying folder tools to drive %USBDRIVE% ... - robocopy tools %USBDRIVE%\tools /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL /XF .gitignore + robocopy tools %USBDRIVE%\tools /COPY:DT /FFT /XO /256 /NJH /NJS /NDL /XF .gitignore ) for %%P in (software scripts) do (