Please enable JavaScript to view this site.

ESL Documentation

DOSSHELL Subroutine

Retrieve lines of text from the Command Line Interpreter.

 

call DosGetData(string:Text_SV)

Parameters

Text_SV

A string variable that holds the textual output from the Command Line Interpreter.

Returns

One of the following codes will be returned in the pseudo variable, "errorlevel":

DosErrorFree

Operation was successful.

DosBusy

A previous command is still being processed.

DosInitial

The command line Interpreter is still initializing.

DosNoData

There is no data waiting to be processed by the ESL application.

Description

This routines retrieve text from command line interpreter. The buffer size, has been set to 1024 bytes, so your application may need to append subsequent text output before processing the complete output, when the End-Of-Data response is received. If an error has occurred, the output text will contain the string: "SHELL: Error code %ld\n". When %ld is the value of the error code.