


In all end user tools, Windows NT commands and executable programs can be called from the command line by prefixing an exclamation mark to them.
Examples:
====> !cmd /c dir
or
!cmd /k dir Synchronous display of the current directory;
i.e., work in the end user tool will be inter-
rupted.
====> !cmd /c test.cmd
or
!cmd /k test.cmd The Windows NT command file test.cmd is
synchronously executed; i.e., work in the end
user tool will be interrupted.
====> !comp a b Synchronously comparing the files a and b;
i.e., work in the end user tool will be
interrupted.
====> !&cmd /c cpc.cmd -c hbl > cpc.msg
The ADABAS C precompiler is started
(asynchronously) in background
writing its messages to the file cpc.msg.
====> !&print out Asynchronous background printer output of
the file 'out'.
====> !&appl > appl.out The program appl is (asynchronously) started
in background writing the result to the file
appl.out.
A new Windows NT session is always opened; i.e., command processing takes place in a separate window.
Internal commands, such as 'dir', and Windows NT command files can only be performed if they are called along with a Windows NT command interpreter (cmd).
But it is also possible to call only a command interpreter (cmd), to execute several commands using this interpreter, and then to return to the end user tool by using 'exit'.
Commands such as cd are no longer effective when returning to the tool.
Syntax:



