Arachne as offline HTML viewer


If you are using a DOS file manager (like Norton Commander, Volkov commander, Dos Navigator, etc.) you would probably like to view local .HTM files the same way as you view .GIF, .JPG, .TXT or .DOC files - just by clicking on the name of the file with a mouse.

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:

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


Return to previous page.