Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dos errorlevel return
Message
From
04/07/2000 22:04:33
 
 
To
04/07/2000 21:50:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00388201
Message ID:
00388203
Views:
7
>Is there any method to obtain the DOS ERRORLEVEL return after calling a DOS command or .EXE with '!'

Under VFP5/6 you can use my API_APPRUN class rather than the native RUN command; the CheckProcessExitCode method will return the termination code. The class can be downloaded from the Files section here on UT.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform