What's the story with DOS search paths?

Clemson

Member
Nov 10, 2001
30
0
0
Anyone know where I can find a tutorial about search paths
and how to use them.

Thanks
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
dos, not *nix ;)

at a dos prompt type:
SET PATH=blah;blah2;blah3
now whenever you try to run a program, dos will check through the 3 paths there for an executable if there is none int he current directory.

SET PATH=%PATH%;blah;blah2;blah3
will do the same thing as the previous, except it will leave any existing paths, such as c:\windows\command so you can still use "type filename |more" or "edit" :)