PATH Variable


Similar to the XPATH environment variable, the shell uses the PATH variable as a list of directories to search to find external (OS) programs.



As of version 1.0.2 xmlsh performs the following on startup.

On executing subprocesses xmlsh exports the PATH variable to the subprocess by reversing process and reconstructing the PATH variable to the OS native representation.

Note that on some OS's environment variables are case in-sensitive (Windows). In these OS's any case for PATH (such as "Path") is converted to all upper case PATH.



Example: Set the PATH variable to the directory C:/xmlshscripts
PATH=C:/xmlshscripts


To set to 2 directories using a sequence constructor
PATH=(C:/xmlshscripts c:/MyDir/scripts)


Append to the PATH variable
PATH+=/my/directory






Variables
VariableXPATH
CommandExecution
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki