0
I am trying to write a batch script that when run into a folder, it takes all the files in this folder and zip them into one, then takes the remaining folders and looks into them and do the same, saving the zip files into each folder.
Example:
folder1
file1.ext
file2.ext
folder2
file3.ext
file4.ext
should become
folder1
file1.ext
file2.ext
folder1.zip containing file1.ext and file2.ext
folder2
file3.ext
file4.ext
folder2.zip containing file3.ext and file4.ext
I have added an example to your question to make it better understandable. You did not specify what names the ZIP files need to have. Feel free to revert my edit. – Jan Doggen – 2013-07-02T08:47:06.510
1@untore What Windows version are you using? Maybe Powershell (Windows 7) is also an option? – nixda – 2013-07-02T08:53:28.363