Current Page:
NeXtMidas Training
Working with Files
The AUX List
The AUX Command
|
|
- The
AUX Command:
- The
AUXILIARY command (almost always shortened to AUX ) is
used to set the default read and write directories.
- The
AUX command takes in two arguments: <write> and
<read>
nM> AUX <write> <read>
Where <read> is a bar-separated list of AUXs to read from. For
example:
nM> AUX HOME HOME|DAT|CWD
- If given no arguments, the current set of AUXs is listed.
nM> aux
Write AUX = 1
Read AUX List = 1|CWD|DAT|99|RAM
CWD = /home/student/nxm230/ <Type=File>
HOME = /home/student/ <Type=File>
HOMEPATH = /home/student/ <Type=File>
DAT = /home/student/nxm230/nxm/sys/dat/ <Type=File>
RAM = ram: <Type=Ram>
1 = /midas/data1/+/ <Type=File>
99 = /midas/opt/xmxxx/xm/dat/ <Type=File>
WEB = http://nextmidas.com/nm/nxm/sys/dat/ <Type=Http>
- It is common to include the write AUX as an entry in the read AUX and this is recommended.
- Since the most common use of
AUX is to make minor changes to the read
AUX, there are a number of short-hand ways to set/modify the read AUX:
- Specifying the entire list:
nM> AUX ,, myaux|dat|cwd
- Adding one to the list:
nM> AUX ,, +myaux
- Removing one from the list:
nM> AUX ,, -myaux
- See the
AUX explain file for more details.
- Important Note For Windows Users: There are a few special issues
about setting AUXs on Windows. Most of the issues relate to drive letters and
network-mapped drives. Please see the
AUX explain file for more details.
|
|
|