Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WinZip Command Line Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00862574
Message ID:
00862944
Vues:
10
It is not working, I can not generate results.txt file.
it gives a warning [name not matched >results.txt]

>This is oversimplified but try something like this:
>
>cCommand = 'WzZip -a -p -r -Jhrs -wh OutFile g:\vfp\*.* >Results.txt'
>Run &cCommand
>
>Results.txt will contain all the processing output, just suck it in to VFP with FileToStr() and look for 'Sucessful' (all OK) or 'Warning' in front of a file that has a problem.
>
>Bob
>
>
>>Hello Robert
>>I am using the winzip command line already, what I need to do is to know that if error happened, so I can repeat the process.
>>I want to do it programmitically without depending on user reaction when he see this error.
>>
>>
>>>Hello Hani,
>>>
>>>I use winzip with command line parameters. They have a free file wzcline.zip on their website which documents the options as well as provides
>>>a more stable interface (I believe you need to register to use it, $30) I then run the command line and pipe the output into a txt file which I can parse/view to see if there are errors. Most errors, including having a file open should not prevent the process from finishing. If the file is open, it will back it up, but won't guarentee the data is not in flux.
>>>
>>>Bob
>>>
>>>>I am using WZZIP from WinZip to archive some files, I need to get a return error if for any reason the process failed, any help ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform