fat32 does not support files >4 GB

This commit is contained in:
Michael H.G. Schmidt 2023-02-08 16:31:52 +01:00
parent 674d8736e9
commit bb2dca6618

View File

@ -130,27 +130,29 @@ if EXIST %T%\%IMAGEFILE% (
) )
echo copying all files in [ %W10% ] to drive %USBDRIVE% ... echo copying all files in [ %W10% ] to drive %USBDRIVE% ...
robocopy %W10%\ %USBDRIVE% /MIR /256 /NDL /R:10 /J /XX robocopy %W10%\ %USBDRIVE% /MIR /256 /NDL /R:0 /J /XX || exit /b
:CONT :CONT
if EXIST tools ( if EXIST tools (
echo. echo.
echo copying folder [ tools ] to drive %USBDRIVE% ... echo copying folder [ tools ] to drive %USBDRIVE% ...
robocopy tools %USBDRIVE%\tools /COPY:DT /FFT /XO /256 /NJH /NJS /NDL /XF .gitignore robocopy tools %USBDRIVE%\tools /COPY:DT /FFT /XO /256 /NJH /NJS /NDL ^
/R:0 /XF .gitignore || exit /b
) )
if EXIST software ( if EXIST software (
echo. echo.
echo copying folder [ software ] to %USBDRIVE%\tools ... echo copying folder [ software ] to %USBDRIVE%\tools ...
robocopy software %USBDRIVE%\tools\software /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL ^ robocopy software %USBDRIVE%\tools\software /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL /R:0 ^
/XF *.iso /XF *.txt /XF *.cmd /XF *.csv /XF .gitignore /XD .git /XF *.iso /XF *.txt /XF *.cmd /XF *.csv /XF .gitignore /XD .git || exit /b
) )
for %%P in (drivers scripts source optional personal company apps) do ( for %%P in (drivers scripts source optional personal company apps) do (
if EXIST %%P ( if EXIST %%P (
echo. echo.
echo copying folder [ %%P ] to %USBDRIVE%\tools ... echo copying folder [ %%P ] to %USBDRIVE%\tools ...
robocopy %%P %USBDRIVE%\tools\%%P /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL /XF .gitignore /XD .git robocopy %%P %USBDRIVE%\tools\%%P /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL ^
/R:0 /XF .gitignore /XD .git || exit /b
) )
) )