by ed_wilson - 10/6/11 4:30 PM
Back in the real DOS days I was doing simple
batch files as a hobby more than anything else.
Now I want to write a batch file to zip a folder. That much I can do - but I never got to
understanding passing arguments to batches
(just did static ones all the time)
so when I say a '%' in a file I zoned out.
Here is the key line which works
Rem ZIPNT.exe -r archive_location source_folder_location
ZIPNT.exe -r "I:\backup\destination.zip" "D:\jobs\Gympie_Rd\Option
And its the source_folder_location (but potentially both paths) which I want to
pass to the batch file as an argument from another app where we can issue a
command to the OS shell.
Any help much