If you build a DOS program with PWB and you run PWB under DOS, you can run the program directly from PWB.
·To run a DOS program from PWB:
When the PWB build-completion dialog box appears, click the Run Program button.
If you build your DOS program with NMAKE, run the program from the DOS command line.
·To run a DOS program from the command line:
At the DOS command line, type the name of your program's .EXE file and press ENTER.
If necessary, supply a pathname to the .EXE file.
For example, to run the executable file for DMTEST, type the following at the command line (assuming that DMTEST.EXE is in the \TUTORIAL directory):
DMTEST
Remember that the default makefiles for most of the tutorial programs build into subdirectories of the MFC\SAMPLES\TUTORIAL directory, as explained in “Makefile Locations” on page 8. Run the program from that directory, or supply a path to that directory.