MS-DOS

Create a "Where is" command for DOS 100/200LX

On the HP 100/200LX you can search an entire disk for a file using the DOS 5.0 DIR command with the /S switch. The addition of the /B switch will display the full path for each file found. You can use a DOSKEY macro to create a "new" search command. Add this single line to your AUTOEXEC.BAT file. (It is a one-line command with a single space between "doskey" and "whereis".):

D:\dos\doskkey

whereis=dir \$1 /s/b

Run the "whereis" command from the DOS prompt in any drive or directory and it will display a list of all the files meeting the search criteria in that directory and all subdirectories. For example, from the A:> prompt in drive A, if you type: whereis *.eqn and press (ENTER), you'll see a list similar to the following:

A:\TRAVEL.EQN A:\ALT.EQN

A:\FINANCE\RLTSOLVR.EQN

A:\FINANCE\STUDENT\BONDS.EQN

A:\FINANCE\STUDENT\CORP.EQN

A:\PTP15\HAKKI.EQN

A:\PTP15\TEICHO.EQN

A:\_DAT\TRAVEL.EQN

Robert Roney Editor HP Palmtop Paper