It is better to start Arachne in its home directory and you MUST run ARACHNE.BAT - not only CORE.EXE. You can use multiple configuration files, in different directories, for example on a LAN. See the description of Arachne configuration and system files to understand Arachne's configuration files - it's generally possible to add the Arachne directory to the DOS PATH and run ARACHNE.BAT from any directory, but the file ARACHNE.CFG must be set up to contain full path names in some variables, and even with this, there can be problems with plug-ins, with runtime configuration files, and temporary files in various locations on the disk, etc. So it is much better to change the directory before running Arachne. You can also use some kind of PUSHDIR and POPDIR command (it can even be a batch file)
The following example is for Arachne installed in the C:\ARACHNE\ directory:
HTM: C:\ARACHNE\VIEWER.BAT !\!.!
All you have to do now is to copy ARACHNE.BAT to a file called VIEWER.BAT, and add the following two lines at the begining of VIEWER.BAT:
c:
cd \arachne
htm{
(optional, see source for PUSHDIR.BAT below)
pushdir
(optional)
c:
cd \arachne
arachne.bat !\!.!
popdir
}
You don't have to create any special batch file when using Dos Navigator.
Note: the '{' character must be placed on the same line as the extension
'htm'.
Here is an example of PUSHDIR.BAT, which can be used to store current the DOS directory. In the example, we assume directory C:\TOOLS exists and that it is included in an enviroment variable PATH. File C:\TOOLS\CD.0 must contain string "cd ", it means exactly three characters: c, d and space (0x20). No end of line (0x0D, 0x0A).
PUSHDIR.BAT creates command POPDIR.BAT, which can be used to restore the current working directory.
@cd>c:\tools\cd.1
@copy c:\tools\cd.0+c:\tools\cd.1 c:\tools\popdir.bat>NUL