Setting Paths for MS-DOS - Based Applications

You can set the path for a specific MS-DOS - based application that runs in MS-DOS Mode by carrying out the following procedure.

To specify a path for MS-DOS - based applications that run in MS-DOS mode

  1. Right-click the application's executable file, and then click Properties.
  2. Click the Application tab, and then click Advanced.
  3. Make sure MS-DOS Mode is checked.
  4. In the AUTOEXEC.BAT For MS-DOS Mode area, specify the correct path.

Note For MS-DOS - based applications that do not run in MS-DOS Mode, you can set only a working directory.

You can set a global path for all MS-DOS-based applications by adding a path statement to AUTOEXEC.BAT.

You can write a batch file that sets a path for an MS-DOS - based application; for example:


path=%path%;c:\utils;c:\norton

After you write the batch file, carry out the following procedure to ensure that Windows runs it before starting your MS-DOS - based application.

To run a batch file before starting an MS-DOS - based application

  1. In the application's properties, click Program.
  2. In the Batch File area, specify the batch file's path and name.
  3. If you want the VM window in which the batch file is running to close after the batch file has finished, make sure the Close On Exit box is checked.

For more information about commands that can be used in batch files, see Appendix A, "Command-Line Commands Summary."