MACRO/BATCH Request:
-
i got a folder named COMPRESS
i got *.xls and *.doc files in there
how can i make just compress xls and doc extensions in their separated file names with One click to a folder?
do i have to make subfolders for this operation to batchzip?file name samples:
dailybackup09062009.xls
dailybackup09062009.doc
dailybackup09072009.xls
dailybackup09072009.doci want this at the end of compressing: (xls and doc files in it)
dailybackup09062009.zip
dailybackup09072009.ziphow can i compress these files with xls & docs in their separated filenames
please help -
Sorry, I don’t understand what you mean by “One click to a folder” as PACL is a command line utility ?
@yeappa:file name samples:
dailybackup09062009.xls
dailybackup09062009.doc
dailybackup09072009.xls
dailybackup09072009.doci want this at the end of compressing: (xls and doc files in it)
dailybackup09062009.zip
dailybackup09072009.ziphow can i compress these files with xls & docs in their separated filenames please help
For this there are two options (I think)
a) use the option “sep” will give you
dailybackup09062009.xls.zip
dailybackup09062009.doc.zip
dailybackup09072009.xls.zip
dailybackup09072009.doc.zipb) If your files are named as stated then you could create a DOS batch file/command something like
For %%I in *.doc do
pacomp -a %%~nI.zip %%~nI.doc %%~nI.xlsThis results in dailybackup09072009.zip
containing dailybackup09072009.doc and dailybackup09072009.xlsCheck the actual syntax for your version of Windows with “HELP FOR”
-
i mean, i right-click to a folder files in it then voila.
how can i use pacomp ? through the PowerArch GUI?
i want program to automaticly select *.xls and *.doc and archive them separated by their unique file names.
dailybackup09062009.zip files to their own
dailybackup09072009.zip files to their own archives (xls and doc extensions) in it.how can i ?
i couldnt make it with Winrar :( -
i mean, i right-click to a folder files in it then voila.
I think this is in the wrong forum, you seem to be asking about PowerArchiver and not PACL.
@yeappa:i want program to automaticly select *.xls and *.doc and archive them separated by their unique file names.
dailybackup09062009.zip files to their own
dailybackup09072009.zip files to their own archives (xls and doc extensions) in it.If you have a folder named “Compress” containing files with both doc and xls extensions (and no other files), then your options from PA (or explorer shell) are
a) create a single archive (compress.zip) containing all files
b) create seperate archive for each file in the folder using the “batch” optionCreating seperate archives based on matching filenames (but different extensions) is not possible.
If I understand your requirement you will have to create a Backup Script using PowerArchiver - but don’t create a new doc and xls each day, just update them and then run the script daily and backup to an archive named using the date.
-
thanks TBGBe for your concern