Re: Environment variable for "System PATH"

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 10/12/04


Date: Tue, 12 Oct 2004 12:09:25 +0200

Prabh wrote:

> Hello all,
> What's the environment variable for the System PATH on XP.
> When I do "echo %PATH%" from the command window, it prints
> out the User PATH variable and not the System PATH.
>
> Thanks for your time,
> Prabh
Hi

The PATH environment variable is a merge of the system path and the
user path, so if you only see the user part, you have a problem.

I suggest you run the FIXPATH program available here:

http://home.comcast.net/~stewartb/cmdprompt.html#6

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx