PATH (Environment Variable)
This page was last modified 12:18, 11 May 2020 by Mars2000you.

Description

The PATH MSX-DOS 2 Environment Variable specifies the current search path used by COMMAND2.COM to find a .BAT or .COM file.

It can be useful to change this environment variable for example before launching one of the tools located in the UTIL sub-directory on the MSX-DOS 2 disk.

Notes:

  • The path can also be manipulated with the PATH command to specify more than one search path.
  • The root directory is mentioned by ';' when you use SET PATH without other parameters, but you can't use SET PATH=; because it will remove PATH from the environment variable list.
  • Character backslash (\) is used in MSX-DOS 2 / Nextor. It is replaced by the character yen (¥) on Japanese MSX or the character won (₩) on Korean MSX.

Example

A>SET PATH=A:\UTIL
A>XDIR