- The `HOMEPATH` Command:
  - The `HOMEPATH` command (usually shortened to `HOME`) sets the homepath used to run home macros (also called percent macros or user macros).
  - Just typing `HOMEPATH` will list the current homepath.

        nM> home
        HomePath = /home/burdell/

  - The `HOMEPATH` command has two forms used to set the homepath:
    - The first form takes in a full path to use for the home directory.

          nM> home /home/burdell/junk
          nM> home
          HomePath = /home/burdell/junk/

    - The second form works just like `NMD` and takes in the area of an option tree and the name of the option tree.

          nM> home test sys
          nM> home
          HomePath = /home/burdell/nxm230/nxm/sys/test/

  - Since NeXtMidas 3.1.0, users can use a special switch with the `HOMEPATH` command to specify that they wish the homepath to be set to the Current Working Directory (CWD) and change as the CWD changes.

        nM> nmd test sys    ! Sets CWD to $NMROOT/nxm/sys/test
        nM> home/cwd        ! Sets HOMEPATH to $NMROOT/nxm/sys/test
        nM> nmd mcr sys     ! Sets CWD and HOMEPATH to $NMROOT/nxm/sys/mcr

X-Midas Users Take Note:
Stable X-Midas releases before 4.6.0 do not support the setting of the home path using the `NMD`-like syntax.