Difference between revisions of "PATH"

From DOSBoxWiki
Jump to navigationJump to search
(changed utilities link to commands link)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
The PATH is an environment variable that instructs DOSBox where to find an executable if one cannot be found in the current directory.   
 
The PATH is an environment variable that instructs DOSBox where to find an executable if one cannot be found in the current directory.   
Hi All, http://samgopher.wetpaint.com/account/BuyCheapViagraOnline Buy Viagra,  mpvhew, http://forums.hostrocket.com/member.php?u=42811 Order Viagra,  %)), http://www.yardbarker.com/users/BuyViagra438 Buy Viagra,  :-))), http://www.justin.tv/murrayaram/profile Viagra, 190395, http://www.videocodezone.com/users/bellowmargalit/ Buy Viagra,  %-DD, http://www.collegehumor.com/user:1937482 Order Viagra, >:-[[[, http://tartarus.phys.us.edu.pl/moodle/user/view.php?id=253&course=1 Viagra, uyx, http://www.warhammeralliance.com/forums/member.php?u=129690 Viagra,  nyxhc, http://www.jewcy.com/user/5347/orderviagracheap Viagra,  >:[, http://www.viddler.com/explore/ViagraCheapOrde/ Buy Viagra,  wwvpq, http://wis.dm/users/78395-buycheapviagraonline343 Viagra,  rvjjd, http://www.konaworld.com/owners_area/index.php?showuser=10142 Buy Viagra,  :OO,
+
== Example PATH ==
 +
<code><pre>PATH=Z:\;C:\UTILITIES;C:\DOS</pre></code>
 +
Each element should be a full path (drive letter and sub directories) for clarity, and they should each be separated by a ''';'''Linux and Apple users should be aware that the current working directory is always checked first (unlike your host system, which requires a '''./''' to be inside your path)By default the '''[[ZDrive|Z:\]]''' is at the beginning of the PATH making the default DOSBox [[Commands|utilities]] available to you no matter what sub directory you are currently inVery few software tools would require a change in your PATH, usually only system wide command line utilities like text editors.
 +
 
 +
The PATH can be modified by the [[Commands#SET|SET]] command.

Latest revision as of 20:14, 9 June 2015

The PATH is an environment variable that instructs DOSBox where to find an executable if one cannot be found in the current directory.

Example PATH

PATH=Z:\;C:\UTILITIES;C:\DOS

Each element should be a full path (drive letter and sub directories) for clarity, and they should each be separated by a ;. Linux and Apple users should be aware that the current working directory is always checked first (unlike your host system, which requires a ./ to be inside your path). By default the Z:\ is at the beginning of the PATH making the default DOSBox utilities available to you no matter what sub directory you are currently in. Very few software tools would require a change in your PATH, usually only system wide command line utilities like text editors.

The PATH can be modified by the SET command.