Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Run DOS Command (2 of 2)
Use the Run DOS command to perform any single DOS task
without exiting from the QuickC environment. Do not use
this command to start TSR programs, such as MSHERC.COM.
■ Type the program name and arguments in the text box.
The program must be in one of the directories in the
current PATH environment variable.
You may use predefined macros. Macro names are
case-sensitive.
■ Select the Prompt Before Returning option to see
the program output before returning to QuickC.
Run DOS command supports the macros listed below. Macro
names must be in all uppercase. The Source window is
the current window unless the cursor is in the Notepad.
File names:
$FILE1 Name of file in Source window
$FILE2 Name of file in Notepad window
$FILE Name of file in current window
$PROJ Base name of program list file; if no program
list, base name of current source file
Line and column numbers:
$LINE1, $COL1 Current line or column in Source window
$LINE2, $COL2 Current line or column in Notepad window
$LINE, $COL Current line or column in current window