1. system/system_exec under Windows NT4
G'day
I want to issue the following system command:
rasdial | find "No connections"
and I want to get the errorlevel from the 'find'. Can this be done?
This code
integer x
x = system_exec( "RASDIAL | FIND \"No connections\"", 2 )
causes rasdial to returns its help text rather than the status message I'm
expecting, and 'find' complains of improper arguments.
Ideas anyone?
I have got a work around going in that I do a '>' of the rasdial output and then
open the file and look for "No connections" but I'd rather not have to do this
if it can be avoided.
ZB