jujuljujul
Messages postés1Date d'inscriptionjeudi 18 juillet 2002StatutMembreDernière intervention18 juillet 2002
-
18 juil. 2002 à 12:22
x140
Messages postés10Date d'inscriptionjeudi 6 février 2003StatutMembreDernière intervention19 décembre 2007
-
22 nov. 2005 à 09:43
Bonjour
En fait je souhaiterai Utiliser Winzip directement depuis un prog VB, comme on peut le faire avec EXCEL ou WORD.
Je vous remercie de votre aide !
cordialement,
ju
MichelTissot
Messages postés1Date d'inscriptionvendredi 7 février 2003StatutMembreDernière intervention 8 février 2003 8 févr. 2003 à 19:51
-------------------------------
Réponse au message :
-------------------------------
> Bonjour
> En fait je souhaiterai Utiliser Winzip directement depuis un prog VB, comme on peut le faire avec EXCEL ou WORD.
> Je vous remercie de votre aide !
> cordialement,
> ju
cs_Zoltan67
Messages postés91Date d'inscriptionmercredi 18 décembre 2002StatutMembreDernière intervention25 juin 20031 6 juin 2003 à 16:44
tu fais un shell ("c:\program files\winzip\winzip32 ")
et tu passes les commandes que tu veux, les voici ( en anglais, mais g la flemme de traduire...
'Adding Files:
'The command format is:
'winzip[32].exe [-min] action [options] filename[.zip] files
'where:
'-min specifies that WinZip should run minimized. If -min is specified,
'it must be the first command line parameter.
'Action
'-a For add, -f for freshen, -u for update, and -m for move. These
'actions correspond To the actions described In the section titled
'"Adding files To an Archive" in the online manual.
'Options
'-r and -p correspond To the "Recurse Directories" and "Save Extra
'Directory Info" checkboxes in the Add and Drop dialog boxes. -ex, -en,
'-ef, -es, and -e0 options determine the compression method: eXtra,
'Normal, Fast, Super fast, and no compression. The default is "Normal".
'-s allows specification of a password. The password can be enclosed
'In quotes, For example, -s"Secret Password". Note that passwords are
'case-sensitive.
'-hs option allows hidden and system files To be included.
'FileName.zip
'Specifies the name of the ZIP involved. Be sure To use the full
'filename (including the directory).
'Files
'Is a list of one or more files, or the @ character followed by the
'filename containing a list of files To add, one filename per line.
'Wildcards (e.g. *.bak) are allowed.
'Extracting Files:
'The command format is:
'winzip[32].exe -e [options] filename[.zip] directory
'where:
'-e Is required.
'Options
'-o and -j stand For "Overwrite existing files without prompting" and
'"Junk pathnames", respectively. Unless -j is specified, directory
'information is used.
'-s allows specification of a password. The password can be enclosed
'In quotes, For example, -s"Secret Password". Note that passwords are
'case-sensitive.
'FileName.zip
'Specifies the name of the ZIP involved. Be sure To specify the full
'filename (including the directory).
'directory
'Is the name of the directory to which the files are extracted. If the
'directory does Not exist it is created.
'Notes:
'* VERY IMPORTANT: Always specify complete filenames, including the full
'path name and drive letter, For all file IDs.
'* To run WinZip in a minimized inactive icon use the "-min" option.
'When specified this option must be the first option.
'* Only operations involving the built-in zip and unzip are supported.
'* Enclose Long filenames on the command line in quotes.
'* NO leading or trailing blanks, or blank lines For readability, are
'allowed In list ("@") files.
'* The action and Each option on the command line must be separated
'from the others by at least one space.
'* WinZip can be used To compress files With cc:Mail . Change the
'compress= line in the [cc:Mail] section of the appropriate WMAIL.INI
'files To specify the full path For WinZip followed by "-a %1 @%2".
'
'
'For example, If WinZip is installed in your c:\winzip directory,
' specify
' compress=c:\winzip\winzip.exe -a %1 @%2
Vous n’avez pas trouvé la réponse que vous recherchez ?
x140
Messages postés10Date d'inscriptionjeudi 6 février 2003StatutMembreDernière intervention19 décembre 2007 22 nov. 2005 à 09:43
salut
désolé, mais..clairement, vous avez une solution pour décompresser un fichier et le renommer ? (sans se servir de la souris, car le tout est dans un autoexec!!!)
merci !