Using directory environment variables makes it easy to move all your NC programs from one disk to another.
Example:
Suppose you have all your NC programs on your C: drive in one or more sub-directories of C:\\NCPRG. The server base directory $ROOT should then point to C:\\NCPRG. If you run out of disk space, and would like to move your NC programs to the network drive N:, then all you have to do is move the directory C:\\NCPRG to N: and change $ROOT to point to N:\\NCPRG.
For information on how to change the port directory environment variables, please refer to [LINK:ProtocolCfg_Directories].
Base directory for this port. All other port directory variables are by default defined relative to $MACHINE.
The default value is $ROOT\$PORTNAME.
Data directory for this port. You can use $DATA when specifying auto receive or remote request directories.
The default value is $MACHINE.
Incoming directory for this port. You can use $INCOMING when specifying auto receive or remote request directories.
The default value is $DATA.
The backup directory for this port. This is the default directory used for backups.
The default value is $MACHINE\Backup.
The failed transfer directory for this port. This is the default directory used to save failed transfers.
The default value is $MACHINE\Failed.
The log directory for this port. This is the default directory used to save port logs.
The default value is $MACHINE\Log.
The server root directory. This is the default base directory for all other directory environment variables.
For information on how to change server environment variables, please refer to Directories.
This is the directory used for saving server log files.
The default value is $ROOT\Log.
For information on how to change server environment variables, please refer to Directories.