↧
Answer by imperium2335 for 7z in batch file with variables "Incorrect command...
It seems the -a switch was wrong. I removed the -a and replaced with just a and it worked ☺.
View Article7z in batch file with variables "Incorrect command line"
I'm trying to run the following batch file: set HH=%time:~0,2% set HH=%HH: =0% IF %time:~0,2% GTR 5 ( IF %time:~0,2% LSS 21 ( FOR /F "TOKENS=1 DELIMS=:" %%A IN ('TIME/T') DO SET HH=%%A XCOPY "D:\Sage...
View Article