From 7zip I've downloaded their command line tool 7za.exe, and I have to following script:
echo off cls set zip ="C:\7za.exe" set filename="%date%.backup.zip" set pathtobackup="C:\MyDocs" %zip% -t7z %filename% %pathtobackup%\*.doc
My intention is to backup all the doc files in MyDocs folder (including subfolders) and put them in a dated zip file. Afterwards I will move this file with robocopy to my server, but at the moment Im having some problems getting it to zip the files.
Anyone have a clue? Anyway I can append a password for the file too?