Does the system PATH environmental variable include subdirectories

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does configuring a directory path then the PATH environmental variable
inheriently include the subdirectories? If not, is there a way to do it,
possibly by adding a \ at the end of the directory path?
 
No. What you see is what you get. Nothing is assummed, you have to include
the path to every folder that has executables that you want to add.
C:\WINDOWS does not include system32, for example, unless system32 is typed
in, C:\WINDOWS\system32. System32 does not include Wbem, for example,
unless it is typed in, C:\WINDOWS\System32\Wbem.

Open a command prompt, type path hit Enter and see what's already there.

HOW TO Manage Environment Variables in Windows XP
http://support.microsoft.com/kb/310519

Setting environment variables
http://www.microsoft.com/resources/...all/proddocs/en-us/environment_variables.mspx

To add or change the values of environment variables
http://www.microsoft.com/resources/...dm_advancd_environmnt_addchange_variable.mspx

Understanding environment variable precedence in Windows XP
http://techrepublic.com.com/5100-10590_11-5630303.html

Environment Variables in Windows XP
http://vlaurie.com/computers2/Articles/environment.htm

Default environment variables under windows
http://www.adp-gmbh.ch/win/misc/environment_variables.html

Environment Variable Processing Order in Windows 2000
http://support.microsoft.com/kb/185652

Environment Variables
http://www.wilsonmar.com/1envvars.htm

Environment Variables in Windows NT
http://support.microsoft.com/kb/100843

How to propagate environment variables to the system
http://support.microsoft.com/kb/104011

Managing NT Environment Variables
http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=5379

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Thank you for your quick and helpful repsonse!!

Wesley Vogel said:
No. What you see is what you get. Nothing is assummed, you have to include
the path to every folder that has executables that you want to add.
C:\WINDOWS does not include system32, for example, unless system32 is typed
in, C:\WINDOWS\system32. System32 does not include Wbem, for example,
unless it is typed in, C:\WINDOWS\System32\Wbem.

Open a command prompt, type path hit Enter and see what's already there.

HOW TO Manage Environment Variables in Windows XP
http://support.microsoft.com/kb/310519

Setting environment variables
http://www.microsoft.com/resources/...all/proddocs/en-us/environment_variables.mspx

To add or change the values of environment variables
http://www.microsoft.com/resources/...dm_advancd_environmnt_addchange_variable.mspx

Understanding environment variable precedence in Windows XP
http://techrepublic.com.com/5100-10590_11-5630303.html

Environment Variables in Windows XP
http://vlaurie.com/computers2/Articles/environment.htm

Default environment variables under windows
http://www.adp-gmbh.ch/win/misc/environment_variables.html

Environment Variable Processing Order in Windows 2000
http://support.microsoft.com/kb/185652

Environment Variables
http://www.wilsonmar.com/1envvars.htm

Environment Variables in Windows NT
http://support.microsoft.com/kb/100843

How to propagate environment variables to the system
http://support.microsoft.com/kb/104011

Managing NT Environment Variables
http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=5379

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top