Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path to a program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01151910
Message ID:
01151962
Vues:
34
>Which part is the error taking place in - the Shell call or the targeted program? If the targeted program does it return an error level (you could test this with ERRORLEVEL in a batch file) ?

I'm not sure how can I use ErrorLevel for something useful and do I have to create a bat file on the fly in order to ger ErrorLevel?
I'm currently just passing this command
wzzip "\\jzanus8\it_testing\Operations\Policy_Search\P0150897.ZIP.G0001V00" "\\jzanus8\it_testing\Operations\Policy_Search\P0150897.D060727.DAT"

Also oShell returns 0 but I didn't specify the path to file wzzip, so it should fail with file not found error. If I do it as a bat file I see the error on the screen that wzzip is not recognized... I need to trap this error into my text variable.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform