Please enable JavaScript to view this site.

ESL Documentation

The key purpose of this library is the send a command string to the Operating System's Command Line Interpreter and fetch the resultant text. All functions and constants are prefixed; "Dos", your application should avoid using this prefix, if you plan to use the DOS Shell library.

The functions are summarized in the following table:

 

DosStartCmd()

Re-start the CMD.exe if it reports an error.

DosPutData( )

Send a command to the CMD.exe input pipe.

DosGetData( )

Retrieve data from the CMD.exe output pipe.

DosGetError( )

Retrieve the error code from CMD.exe interface.

DosGetStatus( )

Retrieve the current state of the CMD.exe interface.

Be sure to include DosShell.inc before using any of these routines.

See the individual function descriptions for more information.