Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command line for WinZip
Message
From
07/04/2011 19:34:21
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Command line for WinZip
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01506525
Message ID:
01506525
Views:
103
Recently, I started a thread about the syntax for a command line in WinZip and it endedup that, when processing multiple files, it was better to create one TXT file to hold all the file names and use the @ parameter to specify that a file name is holding all of our files we need to zip. So, it ended up like this:

C:\Program Files\WinZip\WinZip32.exe -min -a -s"Password" @"c:\MyDirectory\MySubDirectoryTemp\7c0da21e-831a-4245-8060-cd87bf9d6e09.txt" "c:\Archive.zip"

Well, it turns out that the @ command doesn't support this syntax. I need to put my file name in quotes as there could be spaces in there. So, I tried putting the quotes outside the @ but that didn't work either. Anyone would know the proper syntax for that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform