Stuart McLachlan
stuart at lexacorp.com.pg
Fri Apr 1 17:59:58 CST 2005
On 1 Apr 2005 at 7:44, Lonnie Johnson wrote: > I've used the following to zip files from a particualar location. It > works fine. Now I want to use it on a folder where all the files are in > subfolders. ... > > 'Zipping proceess > Call Shell(strAppName & " -A " & """" & strZipFile & """" & " " & """" & strFileLoc & strTargetFiles(i) & """", 1) You use "-r" -r Recurse into subfolders (include subfolders). This option requires the -p or -P option. -p|P Store folder names. A lower case p stores only the names of folders recursed (subfolders included) via the -r option, while an upper case P stores all folder information specified on the command line. -- Stuart