(Contents)(Previous)(Next)

Calling Operating System Commands

Windows NT commands and executable programs can be called using the command "exec command ..." (see Section Calling Operating System Commands).

Examples:

EXEC COMMAND 'dir' END-EXEC displays the current directory

EXEC COMMAND 'print out' END-EXEC prints the file 'out'

EXEC COMMAND 'cmd /c pgm1>pgm1.lis' END-EXEC

starts the program 'pgm1' writing the results to the file 'pgm1.lis'.


(Contents)(Previous)(Next)