Host command [message #79356] |
Wed, 29 May 2002 22:15  |
Minette
Messages: 1 Registered: May 2002
|
Junior Member |
|
|
I'm using the Host command to run something in DOS.
How do I know if the Host command I issued failed? Is there a Forms built-in that I can use to determine if the Host command failed?
|
|
|
Re: Host command [message #79357 is a reply to message #79356] |
Wed, 29 May 2002 23:09  |
Remash
Messages: 52 Registered: November 2000
|
Member |
|
|
Host( the_command, NO_SCREEN );
/*
** Check whether the command succeeded or not
*/
IF NOT Form_Success THEN
Message('FAILURE');
ELSE
Message('SUCCESS');
END IF;
|
|
|