Hi,
Glenn's suggestion could be extended to save the starting directory
path and to return there. The following is a bit messy but works within
the same partition/drive (at least with my MS DOS 5)
Expect someone can improve on this!
Step 1: keep a text file containing the two characters cd followed by
a space character but NO cr or lf (some editors can't create this)
Step 2: in a BAT file used to start Arachne as a viewer:- copy the
cd text file to a temporary BAT file.
Step 3: in the BAT file used to start Arachne as a viewer:- then execute
"cd >> temp.bat"
Step 4: in the BAT file used to start Arachne, after returning from Arachne,
call temp .bat which should contain:-
"cd C:\START\PATH\NAME
Is there a prize for dirty solutions?
John
-----Original Message-----
From: Glenn Gilbreath, Jr. <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, November 11, 2001 9:29 PM
Subject: Re: Arachne as "Viewer" for HTML Pages
>Hi Gang!
>LD hit upon the notion, so I'll explain a bit to "HowTo" for a batch file for using
>Arachne as
offline web page/HTML viewer::::
>
>First, you'll need to set Arachne's TCP/IP setup to use "No Network Available"...use
>the "Options",
"TCP/IP" setup screen to do this easiest.
>
>Next, fire up your favorite text editor, even EDIT.COM from MS works for this...if
>you had SETUP
create a "quickstart" batch, locate this batch file, default name is A.BAT...open it
in your text
editor.
>Make SURE there is a line to change directory to your ARACHNE directory, default is
>C:\ARACHNE,
look for this line:
>CD C:\ARACHNE
>Substitute your directory PRN (Pro Re Nata, Latin for AS NEEDED)
>
>Now, save that file. Then, change directory at command line (CD C:\ARACHNE, or
>whatever) to your
Arachne directory (folder), open the file ARACHNE.BAT in your text editor, and page
down to the
bottom of the file. Look for the seciton labeled
>
>:EXIT or :END
>
>at the bottom of this section of this batch program, type in
>CD C:\ (or wherever you want to be when finished)
>EXIT
>
>Save the file...now anytime you view pages offline with Arachne, use A.BAT to start
>it...when
finished, Arachne will always exit to your root directory on Drive C in my example.
You can use
"variables" in your A.BAT if desired, to set current directory as whatever, then in
ARACHNE.BAT,
last bit will read
>CD C:\whatever the variable is.
>
>I used these methods for YEARS prior to having an ISP that allowed me to login
>without some sort of
Windows OS! Worked absolutely fantastic, and I didn't have to find PUSH.COM or
PULL.COM or
whatever!
>
>C U L8R!
>Wiz <{:-)
>--
>
>
>Wizard57M
>Glenn Gilbreath Jr.
>http://msnhomepages.talkcity.com/RightWay/wizard57m/index.html
>
>_______________________________________________
>1 cent a minute calls anywhere in the U.S.!
>
>http://www.net2phone.com/cgi-bin/link.cgi?170
>
>