Can anyone help me with a batch file to compress multiple depth subdirectories?
I would like to be able to turn
+---Pix
| | a.jpg
| | b.jpg
| | c.jpg
| |
| \---Docs
| | a.doc
| | b.doc
| | c.doc
| |
| \---Bills
| a.xls
| b.xls
| c.xls
|
\---Wishlist
| x.jpg
| y.jpg
| z.jpg
|
\---Adverts
| x.doc
| y.doc
| z.doc
|
\---Income
x.xls
y.xls
z.xlsinto
+---Pix
| | Pix.7z
| |
| \---Docs
| | Docs.7z
| |
| \---Bills
| Bills.7z
|
\---Wishlist
| Wishlist.7z
|
\---Adverts
| Adverts.7z
|
\---Income
Income.7z
Notes:
- My archiver (7z.exe) is already set in my path environment variable, so the batch file doesn't need to know where it is.
- The contents of Piz.7z (for example)should only include the files in the Pix folder, not the contents of Docs or Bills.
Any help would be greatly appreciated.