 |
|
 |
|
Next: A phantom login
|
| Author |
Message |
External

Since: Jan 22, 2004 Posts: 20
|
(Msg. 1) Posted: Fri Feb 09, 2007 11:37 am
Post subject: Path problem Archived from groups: microsoft>public>windowsxp>general (more info?)
|
|
|
Hello,
Somehow my "Path" does not work anymore.... When I use "Ping", "Tracert" or
other programs, they can't be found unless I am in c:\windows\system32.
My system variables look ok. What is interesting is that when I type "path"
I get
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V:.;C
:\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
value of the variables.
Also, sometimes the problem disappears.
Any idea?
Thank you.
Eric >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Feb 20, 2004 Posts: 168
|
(Msg. 2) Posted: Fri Feb 09, 2007 12:32 pm
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Eric wrote:
> Hello,
>
> Somehow my "Path" does not work anymore.... When I use "Ping", "Tracert"
> or other programs, they can't be found unless I am in c:\windows\system32.
> My system variables look ok. What is interesting is that when I type
> "path" I get
> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V:.;C
> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
> value of the variables.
> Also, sometimes the problem disappears.
>
> Any idea?
If you type "set" at the command prompt, what is the value for SystemRoot?
If everything looks OK there (the value should be C:\WINDOWS or similar),
run regedit.exe and navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For the
path value there, do you see %SystemRoot% or is it expanded to C:\Windows?
If the former then something is incorrectly writing the Path value to the
registry as it should expand %SystemRoot% before writing.
--
Tom Porterfield >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Jan 22, 2004 Posts: 20
|
(Msg. 3) Posted: Fri Feb 09, 2007 1:15 pm
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
The set command shows:
SystemDrive=C:
SystemRoot=C:\WINDOWS
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment shows
%SystemRoot%, not the value...
Thank you.
Eric
"Tom Porterfield" <tpporter RemoveThis @mvps.org> wrote in message
news:%23ZLsIBHTHHA.1364@TK2MSFTNGP06.phx.gbl...
> Eric wrote:
>> Hello,
>>
>> Somehow my "Path" does not work anymore.... When I use "Ping", "Tracert"
>> or other programs, they can't be found unless I am in
>> c:\windows\system32.
>> My system variables look ok. What is interesting is that when I type
>> "path" I get
>> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V:.;C
>> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
>> value of the variables.
>> Also, sometimes the problem disappears.
>>
>> Any idea?
>
> If you type "set" at the command prompt, what is the value for SystemRoot?
> If everything looks OK there (the value should be C:\WINDOWS or similar),
> run regedit.exe and navigate to
> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For
> the path value there, do you see %SystemRoot% or is it expanded to
> C:\Windows? If the former then something is incorrectly writing the Path
> value to the registry as it should expand %SystemRoot% before writing.
> --
> Tom Porterfield >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Jan 22, 2004 Posts: 20
|
(Msg. 4) Posted: Fri Feb 09, 2007 1:54 pm
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Tom,
I think I fixed the problem. I compared the path key I had with the one on
another machine. The type was different. On mine it was a "String Value" and
on the other one an "Expandable String Value".
I re-created my "Path" key with an "Expandable String Value" type and now
everything seems to be back to normal.
I am not sure why it would make a difference but it works!!
Thank you.
Eric
"Tom Porterfield" <tpporter RemoveThis @mvps.org> wrote in message
news:%23ZLsIBHTHHA.1364@TK2MSFTNGP06.phx.gbl...
> Eric wrote:
>> Hello,
>>
>> Somehow my "Path" does not work anymore.... When I use "Ping", "Tracert"
>> or other programs, they can't be found unless I am in
>> c:\windows\system32.
>> My system variables look ok. What is interesting is that when I type
>> "path" I get
>> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V:.;C
>> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
>> value of the variables.
>> Also, sometimes the problem disappears.
>>
>> Any idea?
>
> If you type "set" at the command prompt, what is the value for SystemRoot?
> If everything looks OK there (the value should be C:\WINDOWS or similar),
> run regedit.exe and navigate to
> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For
> the path value there, do you see %SystemRoot% or is it expanded to
> C:\Windows? If the former then something is incorrectly writing the Path
> value to the registry as it should expand %SystemRoot% before writing.
> --
> Tom Porterfield >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Feb 23, 2004 Posts: 2979
|
(Msg. 5) Posted: Fri Feb 09, 2007 1:54 pm
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
This is a common problem.
This explains the REG_EXPAND_SZ not REG_SZ...
Why don't my commands work?
http://internet.cybermesa.com/~bstewart/cmdprompt.html#6
REG_EXPAND_SZ = Expandable String Value
REG_SZ = String Value
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:OU2SNvHTHHA.1364@TK2MSFTNGP06.phx.gbl,
Eric <eric RemoveThis @mail.com> hunted and pecked:
> Tom,
>
> I think I fixed the problem. I compared the path key I had with the one on
> another machine. The type was different. On mine it was a "String Value"
> and on the other one an "Expandable String Value".
> I re-created my "Path" key with an "Expandable String Value" type and now
> everything seems to be back to normal.
>
> I am not sure why it would make a difference but it works!!
>
> Thank you.
>
> Eric
>
>
> "Tom Porterfield" <tpporter RemoveThis @mvps.org> wrote in message
> news:%23ZLsIBHTHHA.1364@TK2MSFTNGP06.phx.gbl...
>> Eric wrote:
>>> Hello,
>>>
>>> Somehow my "Path" does not work anymore.... When I use "Ping", "Tracert"
>>> or other programs, they can't be found unless I am in
>>> c:\windows\system32.
>>> My system variables look ok. What is interesting is that when I type
>>> "path" I get
>>>
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V
:.;C
>>> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
>>> value of the variables.
>>> Also, sometimes the problem disappears.
>>>
>>> Any idea?
>>
>> If you type "set" at the command prompt, what is the value for
>> SystemRoot? If everything looks OK there (the value should be C:\WINDOWS
>> or similar), run regedit.exe and navigate to
>> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For
>> the path value there, do you see %SystemRoot% or is it expanded to
>> C:\Windows? If the former then something is incorrectly writing the Path
>> value to the registry as it should expand %SystemRoot% before writing.
>> --
>> Tom Porterfield >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Jan 22, 2004 Posts: 20
|
(Msg. 6) Posted: Fri Feb 09, 2007 2:46 pm
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Wesley,
This is exactly what my problem was and the way I fixed it, except thta
instead of removing the "Path" key I renamed it first just in case...
Thank you.
Eric
"Wesley Vogel" <123WVogel955.DeleteThis@comcast.net> wrote in message
news:uYAMs6HTHHA.496@TK2MSFTNGP06.phx.gbl...
> This is a common problem.
>
> This explains the REG_EXPAND_SZ not REG_SZ...
>
> Why don't my commands work?
> http://internet.cybermesa.com/~bstewart/cmdprompt.html#6
>
> REG_EXPAND_SZ = Expandable String Value
> REG_SZ = String Value
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:OU2SNvHTHHA.1364@TK2MSFTNGP06.phx.gbl,
> Eric <eric.DeleteThis@mail.com> hunted and pecked:
>> Tom,
>>
>> I think I fixed the problem. I compared the path key I had with the one
>> on
>> another machine. The type was different. On mine it was a "String Value"
>> and on the other one an "Expandable String Value".
>> I re-created my "Path" key with an "Expandable String Value" type and now
>> everything seems to be back to normal.
>>
>> I am not sure why it would make a difference but it works!!
>>
>> Thank you.
>>
>> Eric
>>
>>
>> "Tom Porterfield" <tpporter.DeleteThis@mvps.org> wrote in message
>> news:%23ZLsIBHTHHA.1364@TK2MSFTNGP06.phx.gbl...
>>> Eric wrote:
>>>> Hello,
>>>>
>>>> Somehow my "Path" does not work anymore.... When I use "Ping",
>>>> "Tracert"
>>>> or other programs, they can't be found unless I am in
>>>> c:\windows\system32.
>>>> My system variables look ok. What is interesting is that when I type
>>>> "path" I get
>>>>
> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V
> :.;C
>>>> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing the
>>>> value of the variables.
>>>> Also, sometimes the problem disappears.
>>>>
>>>> Any idea?
>>>
>>> If you type "set" at the command prompt, what is the value for
>>> SystemRoot? If everything looks OK there (the value should be C:\WINDOWS
>>> or similar), run regedit.exe and navigate to
>>> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For
>>> the path value there, do you see %SystemRoot% or is it expanded to
>>> C:\Windows? If the former then something is incorrectly writing the Path
>>> value to the registry as it should expand %SystemRoot% before writing.
>>> --
>>> Tom Porterfield
> >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
External

Since: Feb 23, 2004 Posts: 2979
|
(Msg. 7) Posted: Sat Feb 10, 2007 9:55 am
Post subject: Re: Path problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Keep having fun, Eric.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:OstPRMITHHA.5100@TK2MSFTNGP06.phx.gbl,
Eric <eric.TakeThisOut@mail.com> hunted and pecked:
> Wesley,
>
> This is exactly what my problem was and the way I fixed it, except thta
> instead of removing the "Path" key I renamed it first just in case...
>
> Thank you.
>
> Eric
>
>
>
>
> "Wesley Vogel" <123WVogel955.TakeThisOut@comcast.net> wrote in message
> news:uYAMs6HTHHA.496@TK2MSFTNGP06.phx.gbl...
>> This is a common problem.
>>
>> This explains the REG_EXPAND_SZ not REG_SZ...
>>
>> Why don't my commands work?
>> http://internet.cybermesa.com/~bstewart/cmdprompt.html#6
>>
>> REG_EXPAND_SZ = Expandable String Value
>> REG_SZ = String Value
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:OU2SNvHTHHA.1364@TK2MSFTNGP06.phx.gbl,
>> Eric <eric.TakeThisOut@mail.com> hunted and pecked:
>>> Tom,
>>>
>>> I think I fixed the problem. I compared the path key I had with the one
>>> on
>>> another machine. The type was different. On mine it was a "String Value"
>>> and on the other one an "Expandable String Value".
>>> I re-created my "Path" key with an "Expandable String Value" type and
>>> now everything seems to be back to normal.
>>>
>>> I am not sure why it would make a difference but it works!!
>>>
>>> Thank you.
>>>
>>> Eric
>>>
>>>
>>> "Tom Porterfield" <tpporter.TakeThisOut@mvps.org> wrote in message
>>> news:%23ZLsIBHTHHA.1364@TK2MSFTNGP06.phx.gbl...
>>>> Eric wrote:
>>>>> Hello,
>>>>>
>>>>> Somehow my "Path" does not work anymore.... When I use "Ping",
>>>>> "Tracert"
>>>>> or other programs, they can't be found unless I am in
>>>>> c:\windows\system32.
>>>>> My system variables look ok. What is interesting is that when I type
>>>>> "path" I get
>>>>>
>>
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;Z:.;X:.;V
>> :.;C
>>>>> :\;C:\WINDOWS. It shows variables (%SystemRoot%) instead of showing
>>>>> the value of the variables.
>>>>> Also, sometimes the problem disappears.
>>>>>
>>>>> Any idea?
>>>>
>>>> If you type "set" at the command prompt, what is the value for
>>>> SystemRoot? If everything looks OK there (the value should be
>>>> C:\WINDOWS or similar), run regedit.exe and navigate to
>>>> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. For
>>>> the path value there, do you see %SystemRoot% or is it expanded to
>>>> C:\Windows? If the former then something is incorrectly writing the
>>>> Path value to the registry as it should expand %SystemRoot% before
>>>> writing. --
>>>> Tom Porterfield >> Stay informed about: Path problem |
|
| Back to top |
|
 |  |
| Related Topics: | path too long - I have a file whose path exceeds 256 characters. How can I delete it? I tried deleting via Explorer and with "del" in a command window. In the command window, I tried quoting the path. This is the path: ..
Splitting %PATH% in cmd.exe? - I want to split %PATH% on Windows XP into its elements, but only want to use standard XP tools. So that pretty much means a cmd.exe script, I guess. Here's my attempt: set path_index=1 :iterate_path_elems set /a path_index = %path_index% + 1 >nul s...
unc path as local disk - Is there a way of mapping a unc path to windows as as it were a local disk? TYVM in advance --
cmd doesn't search my path for programs - Hello. I'm running Windows XP SP2, updated and virus-free and trojan-free. I also have Cygwin installed and running. When I use cmd, many (most) programs cannot be found even though the PATH environment variable is correct. My PATH includes..
Path length error ? - I have a directory generated by some music downloads (I think!) that seem to cause an unexplained error on Windws Explorer (and other applications searching this directory) whenever it attempts to access it. I've used the tree command in the CMD promp... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|