Came in in the middle of the movie on this topic. But here is my
solution to an arachne batch file that views html files. It uses
two freeware programs available at Rich Green's ``Freeware for Dos
not windows'' site:  a PC magazine program called strings and a set
of pushdir and popdir programs, that stores the current directory as
a dos environment variable:

        set one=%1                             
        if exist %1 strings1 one = TRUENAME %1 
        pushdir >nul                           
        f:                                     
        chdir f:\arcane                        

        (Put the ordinary arachne batch file here; call the variable
         %one% at the places you would put a filename)

        set one=
        popdir >nul


The second line above sets the dos variable ``one'' to the entire
path name, including the drive number of the file you want to view
(e.g., c:\dir1\dir2\filename.htm). Then I save the current directory
I am in with pushdir, change to the drive and directory where I keep
arachne, run core.exe with the full pathname of my file to view,
and at the end, change back to the directory I started in, with
popdir.

Never had a problem with this solution. I know there are complicated
ways of doing similar things with batch tricks. But hey, I've gotten
lazy.

Hope this helps somebody who needs it.

Reply via email to