I need to zip a file. Unfortunately Winzip only supports this through the new add-in wzzip using the command line prompts.
the following code works in MS-DOS that will zip the Excel file "MyFile.xls"
"C:\Program Files\Winzip\wzzip" MyZipFile.zip C:\MyFile.xls
I've tried this code in Access:
Shell(chr(34) & "C:\Program Files\Winzip\wzzip" & chr(34) & "MyZipFile.zip C:\MyFile.xls",1)
It starts the msdos window but does not zip any files. Can anyone help me.
Thanks,
Bill N
the following code works in MS-DOS that will zip the Excel file "MyFile.xls"
"C:\Program Files\Winzip\wzzip" MyZipFile.zip C:\MyFile.xls
I've tried this code in Access:
Shell(chr(34) & "C:\Program Files\Winzip\wzzip" & chr(34) & "MyZipFile.zip C:\MyFile.xls",1)
It starts the msdos window but does not zip any files. Can anyone help me.
Thanks,
Bill N