I need some help setting up a command line batch file that will zip a directory, but append files that haven't changed. I'm using it as a cheap backup plan.
So far, I've been able to test this out successfully:
"C:\Program Files\WinZip\WZZIP" -u "C:\test\test1.zip"
It creates a zip file called test1.zip (if it doesn't exist already). Files are added to this zip file as new (or changed) or appended if old.
My problem is that it zipped all file on my desktop (where the batch file is located), but I wanted to direct it to a spcecific directory, for example: C:\data. I also wanted to be able to add more than one directory to the same zip file that is not located in the same location (E:\moredata).
Lastly (more of a bonus), I want the zip file moved to a newtork drive and overwrite the existing zip file.
Thanks for any help
So far, I've been able to test this out successfully:
"C:\Program Files\WinZip\WZZIP" -u "C:\test\test1.zip"
It creates a zip file called test1.zip (if it doesn't exist already). Files are added to this zip file as new (or changed) or appended if old.
My problem is that it zipped all file on my desktop (where the batch file is located), but I wanted to direct it to a spcecific directory, for example: C:\data. I also wanted to be able to add more than one directory to the same zip file that is not located in the same location (E:\moredata).
Lastly (more of a bonus), I want the zip file moved to a newtork drive and overwrite the existing zip file.
Thanks for any help