Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winzip command line maximum files
Message
De
01/04/2011 17:27:22
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Winzip command line maximum files
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01505845
Message ID:
01505845
Vues:
161
From .NET, I am accessing the WinZip DLL to zip files. So, I have a ProcessFile() class which executes in background specific commands like this. When doing so for the WinZip, I am using its command line parameters to define all the options. One of them is the ability to include a list of files. Those are separated by a space in quotes. When I want to add like 40 files, for example, to zip, I guess it would make sense that I know the limits that could apply. The reason we do not zip the entire directory is because some filtering applies. So, either I benefit from the ability to add a bunch of files in the command line to be zipped or I transfer all of those files into a temporary directly and zip the directory. The first one may have a chance of running into a limit of the length of the command line either at the OS or at the WinZip level. Anyone has some information as to know the maximum number of characters a command line might support as well as WinZip itself? Because, to be safer, the second scenario might be better so any number of files might be zip without facing a limit.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform