seems like a lot of work when you can just create an *.eek or *.ook file
in the oops directory?
On Sat, 24 Feb 2001 14:15:16 -0500, Samuel W. Heywood wrote:
> Hello:
> Sam Ewalt recently asked if there were some good ways to use Arachne's
> internet connection to run other DOS internet apps. There are many good
> ways of doing this. This is how I do it. I just shell out to DOS and run
> the following batch file:
> --------- begin OTHERAPP.BAT ----------
> @echo off
> REM Program Name: OTHERAPP.BAT
> REM Purpose: Used for running other DOS internet apps while online with
> REM Arachne and shelled out to DOS.
> REM This batch file requires DR-DOS, or some utility equivalent to DIREXIST.
> REM Modify as needed.
> if "%1" == "" goto help
> if "%1" == "/h" goto help
> if "%1" == "/H" goto help
> if "%1" == "/?" goto help
> if "%1" == "?" goto help
> if direxist %1\%2 goto doit
> if not direxist %1\%2 goto end1
> :help
> type help.txt
> goto end2
> :doit
> if not exist IP-UP.BAT goto notol
> call IP-UP.bat
> rem set GATEWAY=%REMIP%
> echo my_ip=%MYIP% > path.cfg
> echo gateway=%remip% >> path.cfg
> echo netmask=%netmask% >> path.cfg
> echo nameserver=204.111.1.35 >> path.cfg
> echo nameserver=204.111.1.36 >> path.cfg
> echo Ip address set to %MYIP%
> echo.
> echo Press any key to continue . . .
> pause > nul
> copy path.cfg %1\%2
> %1
> cd\
> cd %2
> goto end2
> :end1
> echo The directory "%1\%2" does not exist. Ooops! Try again.
> echo Use the exact syntax as explained in "HELP.TXT".
> goto end2
> :notol
> echo IP-UP.BAT does not exist. Maybe you are not online. This program
> echo works only when you are already online and when IP-UP.BAT exists.
> echo --- Exiting program --
> :end2
> ---------- end OTHERAPP.BAT ------------
> Also you will need a help file, HELP.TXT
> --------- begin HELP.TXT ---------------
> ------- HELP FILE FOR OTHERAPP.BAT ---------
> Syntax and usage example:
> otherapp c: dialnet
> OTHERAPP.BAT requires two command line parameters, as shown in the example.
> 1. The first parameter is the drive letter where your other application is
> located, followed by a colon.
> 2. The second parameter is the directory in that drive where your other
> application is located.
> OTHERAPP.BAT produces a file named PATH.CFG and then it copies PATH.CFG to
> the directory where your other application is located. Upon exiting this
> batch file you will find yourself at the command line prompt in the
> directory where your other application is located. The first line of
> WATTCP.CFG for your other application should read as follows:
> "include=path.cfg". In the case of several DOS internet applications, this
> is the only line required for WATTCP.CFG.
> ----------------- end HELP.TXT ----------
> I hope someone find this helpful.
> All the best,
> Sam Heywood
> -- See our Big Gizmotimetemp at
> --
http://banners.wunderground.com/banner/gizmotimetempbig/US/VA/Mt_Jackson.gif
Have a Goody!
Dan
-- This mail was written by user of Arachne, the Ultimate Internet Client
-- Arachne V1.70;rev.3, NON-COMMERCIAL copy, http://arachne.cz/