Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path to a program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151910
Message ID:
01151962
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform