Dec 142017
 
Edit path (12/87).
File EP15.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Edit path (12/87).
File Name File Size Zip Size Zip Type
EP.COM 22612 14060 deflated
EP.DOC 5488 1362 deflated

Download File EP15.ZIP Here

Contents of the EP.DOC file


-----------------
Edit Path Command
-----------------

Purpose: Allows current PATH setting to be modified using the IBM PC
keypad.

Format: EP


Remarks: This command is used to enable the current PATH setting in the
environment to be easily modified. When invoked, the current
path is displayed and the IBM PC keypad may be used to edit the
PATH setting. The new PATH setting is stored in the environment
when the [Enter] key is pressed. If PATH is null when the [Enter]
key is pressed, the current PATH is displayed and the program will
exit.


Action of special keys are defined as follows:


[Left] - Move cursor one position to the left unless
currently at beginning of PATH string.

[Space], [Right] - Move cursor one position to the right unless
currently at end of PATH string.

[Up] - Move cursor to first line of PATH string.

[Down] - Move cursor to last line of PATH string.

[Home] - Move the cursor to the beginning of the PATH
string.

[End] - Move the cursor one position past the end
of the PATH string.

[Tab] - Move cursor to the right until next tab
position or end of PATH string is reached.
Tabs occur every 8th position.

[Shift Tab] - Move cursor to the left until previous tab
position or beginning of PATH string is
reached.

[Control Left] - Move cursor to the left until the previous
drive/directory or beginning of PATH string
is reached.

[Control Right] - Move cursor to the right until the next
drive/directory or end of PATH string is
reached.

[Ins] - Toggle INSERT mode. Initially INSERT mode
is turned OFF. When INSERT mode is off,
each character typed will replace the one
at the current character position. An
underline cursor is visible when INSERT
mode is OFF. When INSERT mode is on, each
character typed will be inserted at the
current character position and any remaining
characters will be shifted one position to
the right. A half-block cursor is visible
when INSERT mode is ON.

[Del] - Deletes the character ( if any ) which
currently appears directly above the cursor.
Any characters to the right of the cursor
are shifted left one position.

[Bksp] - Deletes the character ( if any ) which
currently appears to the left of the cursor.
All characters from the current cursor
position to the end of the PATH string are
shifted to the left one position.


[[Control] Home] - Deletes all characters which currently appear
to the left of the cursor. Use of the Control
shift key is optional.

[[Control] End] - Deletes the character which currently appears
above the cursor and all characters to the
right of the cursor. Use of the Control shift
key is optional.

[[Control] PgUp] - Deletes an entire Drive/Directory string
and any trailing semi-colon. The string
deleted is the one which has one of it's
characters directly above the cursor. The
deleted string is placed in a paste buffer
for recall by the [[Control] PgDn] key.
Use of the Control shift key is optional.

[[Control] PgDn] - Paste contents of paste buffer imediately
in front of the current Drive/Directory
string. A semi-colon will be added if
necessary. Use of the Control shift key
is optional.

[Esc] - Restore PATH as on entry. Use after making
a mistake to recall the original PATH.

[Enter] - Store PATH entry and quit program.



Notes: EP - Version 1.5 - December 30, 1987 - Bill Bovee

o Includes routines adapted from:

- SPMMLIB.PAS ( PC TECH Journal, Volume 4, No. 3 )

- SETVAR.C ( by Dan Lewis )

- BOOSTERS ( by George F. Smith )




 December 14, 2017  Add comments

Leave a Reply