Difference between revisions of "NMD"
From ICE Enterprises
ConvertBot (talk | contribs) (Change directories within NeXtMidas) |
(No difference)
|
Latest revision as of 18:04, 27 April 2020
Change directories within NeXtMidas
<AREA> The area in an option tree (e.g. "prim")
<OPT> The option tree name (e.g. "UCL")
Keyword Only Parameters:
[AUX] Name of AUX directory to change into. This can NOT be combined with
<AREA> or <OPT>. (Since NeXtMidas 2.3.1)
Changes the OS working directory to that of a given area of an option tree. The
nmd command is a OS-independent command (similar to xmd in X-Midas) used to
navigate option trees.
Note that using "home" as the <AREA> will change into the user's home directory.
Since NeXtMidas 2.3.1 it is possible to use nmd to change into one of the local
AUX directories by using AUX=.
The goal of nmd is to eliminate the need to remember the exact location of a
particular directory. This is especially helpful when managing multiple setups
on different computers that have different disk configurations.
**************************************************************************
* This is an operating system command (aliased when nmstart is run), it *
* can be used outside of the NeXtMidas shell. *
* *
* If run from inside the NeXtMidas shell, the shell MUST temporarially *
* exit in order to run this command. Any commands running with /BG will *
* be terminated when the Java VM exits to run this command. *
**************************************************************************
Examples:
1. Change into the "mcr" directory of the "ucl" option tree:
$ nmd mcr ucl
2. Change into the "exp" directory of the current option tree (the "current"
option tree is the last one you used nmd to change into):
$ nmd prim
3. Change into the user's home directory:
$ nmd home
4. Change into the AUX directory used for DAT (Since NeXtMidas 2.3.1):
$ nmd AUX=DAT
See Also:
HOMEPATH, AUX