Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Using Junk Subdirs with Recursion Option

Keywords: 	 junk subdirs recursion

Question:

I want to zip up all files recursively, and junk directories as I go. Here's what I'm trying:
	xzipper=zZipFiles("Rj", "c:\temp\Navupdr.Zip", "c:\temp\%mm%%jj%i321.exe|c:\temp\%mm%%jj%i322.zip", "") 

Answer:

Unfortunately you can't use the recurse option (R) along with the junk directories option. It won't work.

You can either zip up the files you specified and junk their specified directories, so that all the files get zipped into a single directory, OR zip up all files matching a certain file spec, and save them into their respective subdirs where they were found.


Article ID:   W12695
Filename:   Junk Subdirs with Recurs Option.txt