WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Zipper

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 2017:07:28:12:58:55
Last Updated: 1999:04:15:15:49:00