Thread: Civilization
View Single Post
Old 07-12-2009, 09:26 PM   #292
El Quia
Abandonia Homie
 
El Quia's Avatar


 
Join Date: Oct 2005
Location: Capital Federal, Argentina
Posts: 582
Default

Quote:
Originally Posted by Eagle of Fire View Post
I'd like to point out that in the good old DOS days, there was a way to add a "default directory" or "path" (I sadly don't recall the exact command) which made the platform search in the "default" directory whenever the command or file wasn't found in the current directory.

This is how DOS handled the basic commands in the upper versions. Instead of knowing the files are in A: or B:, they copied all the commands in one directory and created the path there. It was possible to add more directories to this default path.

So, someone creating a batch file and placing it in such a directory would make it work in any directory just like if it was called by typing the full path.

Are you talking about the good all environment variable PATH?
El Quia is offline                         Send a private message to El Quia
Reply With Quote