Dec 312017
 
Aids in setting your Path.
File SETPATH.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Aids in setting your Path.
File Name File Size Zip Size Zip Type
SETPATH.BAT 1045 408 deflated
SETPATH.DOC 3255 962 deflated

Download File SETPATH.ZIP Here

Contents of the SETPATH.DOC file



**************************************************************************

from the BATHINTS library... part of the BATPOWER CONFERENCE from:

THE PAINFRAME OPUS/FIDO 261/1004

Baltimore, Maryland 1-301-488-7461

**************************************************************************

SETPATH.BAT David Creasey

FUNCTION: Quick directory search path changes to add new directories
to the current path, create a new path, restore the path
set in the autoexec.bat or restore the previous path.

REQUIRED: Place answer.com, flip.com, pushdir.com and popdir.com in the
same directory as setpath.bat or in the CURRENT and NEW path
(answer,flip,pushdir and popdir are available in the BATPOWER
CONFERENCE file BATPOWER.ARC).
If the AUTO parameter is used, a file called autopath.bat
must be present and must contain the path which was set in the
autoexec.bat file. This can be accomplished by adding
the following lines to the autoexec.bat file:
path>autopath.bat
echo path>>autopath.bat
echo popdir>>autopath.bat
after the path is specified in the autoexec.bat file.

SYNTAX: setpath [parm]

PARMS: AUTO ADD NEW or OLD

NOTES: Place setpath.bat, autopath.bat and oldpath.bat in the
same subdirectory as your other batch files. Oldpath.bat
will be created in the current subdirectory from which
setpath.bat is called, unless a drive letter and
change directory path command are placed at the top of
setpath.bat (you could edit setpath.bat to place these
to command lines as lines 3 and 4 of the batch file).
For example, if you keet your DOS command.com, batch
files and utilities in a virtual disk drive designated
as drive d:, you should edit setpath.bat so that the
the first few lines are:
echo off
cls
pushdir
d:
flip caps on
if............... etc etc
Naturally, you would always want to be sure to include
d: in whatever new path you specify with setpath.bat.


 December 31, 2017  Add comments

Leave a Reply