|
Answer» 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.xls
into
+---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.
|