home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
INPATH25.ZIP
/
INPATH.DOC
< prev
next >
Wrap
Text File
|
1993-03-14
|
7KB
|
138 lines
╒════════════════════════════════════════════════════════════════════════════╕
│ CADMOS Computer WorkShop - 26, Skoufa Street, Athens 106 73 │
│ Phone +30-1- data: 363 5482, 360 6044, 360 6046 (Cadmos/CHAOS BBS) │
│ voice: 361 1030, 360 6052 FAX: 360 6059 │
╘════════════════════════════════════════════════════════════════════════════╛
┌────────────────────────────────────────────────────┐
│ INPATH.EXE, version 2.5, a Program Search Utility. │
└────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────────────────┐
│(c) All rights reserved. Use prohibited in a professional, business or │
│ commercial environment without prior written licence by the author. │
│ │
│ Feel free to copy and distribute this program. You may use it and evaluate │
│ it for 30 days. After this period, you may only use it while you are a │
│ subscriber to Cadmos/CHAOS BBS :-) │
└────────────────────────────────────────────────────────────────────────────┘
INPATH.EXE, Ver 2.5, (c) 1991-2, Haris Courouclis (CADMOS), (301) 361-1030
────────────────────────────────────────────────────────────────────────────
Format: INPATH [d:][path\]ProgramName[.ext] [/ap] [/er]
or INPATH ? for Help
────────────────────────────────────────────────────────────────────────────
DOS looks in the current directory for the first COM, EXE, or BAT file (in
this order). If no such file is found, then it looks in each of the path
directories. If you provide path and/or extension, this information will
override the usual search order. Since you may have a few program files
spread around your disk sharing the same name, the choice of program that
will be executed depends on the order in which the directories are listed in
your PATH environmental variable, and, within a directory, on the extension.
INPATH will show you which program, if any, DOS will execute when you type
[d:][path\]ProgramName[.ext] at the command line.
When a match is found, you can press:
J to jump to that file's directory,
N to find the next match,
L to launch a matching program,
or Q to quit.
(Note: The launch option is currently limited to 15 characters. This will
increase to 255 in the next major release).
INPATH is extremely usefull especially when you want to run a commonly named
program such as SETUP, INSTALL, etc. or when you do not remember the exact
name of the program - in the later case you can use Cadmos Smart Wildcards,
f.e. *SETUP* will show you FWSETUP.EXE, SETUPFW.EXE, SETUP1.EXE etc. It is
also invaluable in networks where you might keep the same program in various
directories within the network search path.
If /ap is specified, then INPATH will show you which file will be processed,
by looking in the current and the APPEND path dirs.
With /er DOS ErrorLevel is set to 1 when a file is found, to 0 otherwise.
Smart wildcards are supported (S*T matches SMART, not SOME that DOS would).
══════════════════════════════════════════════════════════════════════════════
The Cadmos Smart WildCard System
──────────────────────────────────────────────────────────────────────────────
The normal DOS * wildcard substitutes for any number of letters and is
not concerned with the length of the resulting string. For example, S*T
expands to: ST, SmarT, SemicolumnorwhateverT, etc or even: Smarter T,
S T (asterisk expanded to 7 spaces, T 9th). The expansions are then
truncated to the 8 letter DOS limit. S*T will therefore match with ST,
SMART, SEMICOLU, SMARTER, S and indeed any name starting with S.
The Smart * wildcard will substitute for only such a number of letters
that will not throw out of the 8 letter DOS file name length limit any
following letters.
In S*T the asterisk can substitute from 0 to 6 letters since there are
two letters to be accomodated. Therefore it will match any name with S
as its first letter and T as its last letter, be it 2nd or 3rd or ... or
8th. The same principle applies to more complex specifications such as
W*D*T.*E. The first * can substitute up to 5 chars, the second up to 5 -
the number substituted by the first, and the third up to 2. Therefore it
will match WilDtesT.exE but not WILD.EXE or WILDTEST.EXA that DOS would.
There is no difference between the normal DOS ? wildcard and the ? Smart
wildcard. They both substitute for exactly one letter.
The DOS DIR command will append '.*' to a file name when no extension is
given. D.EXE will append *.* except if otherwise specified by the +E
switch (nothing is appended), or the -E switch (.* is appended)
══════════════════════════════════════════════════════════════════════════════
INPATH.EXE - Revision History
──────────────────────────────────────────────────────────────────────────────
22 Sep 1992, version 2.5
────────────────────────
Added: /er switch
03 Aug 1992, version 2.4
────────────────────────
BugFix: Launch would add a slash to root dir names
04 May 1992, version 2.3
────────────────────────
BugFix: Color restoration
Added: Rudimentary 4DOS BTM check
01 Feb 1992, version 2.2
────────────────────────
Added: Help screen can be redirected.
Added: File Size and date reported.
18 Jul 1991, version 2.1
────────────────────────
BugFix: Root directory was d: instead of d:\
BugFix: /ap would not find files with no extension
27 Apr 1991, version 2.0
────────────────────────
Added: /ap option - search for files in the APPEND path
1989, version 1.0
─────────────────
┌────────────────────────────────────────────────────────────────────────────┐
│(c) All rights reserved. Use prohibited in a professional, business or │
│ commercial environment without prior written licence by the author. │
│ │
│ Feel free to copy and distribute this ChaosWare utility program. You may │
│ use it and evaluate it for 30 days. After this period, you may only use it │
│ while you are a subscriber to Cadmos/CHAOS BBS :-) │
│ │
│ As a registered member of Cadmos/CHAOS BBS you enjoy all the benefits of │
│ being a member of a fine BBS plus the right to use any ChaosWare utility │
│ you download! │
│ ────────────────────────────────────────────────────────────────────────── └─┐
│ If you use this utility and fail to register, then your consience will haunt │
│ you for the rest of your life and your average cps will drop to a halt :-) │
└──────────────────────────────────────────────────────────────────────────────┘