Re: Lost path in Command Interpreter



See if this helps...

[[To check your registry setting manually, run regedit and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment. Examine the registry data type of the Path entry. If it
is not REG_EXPAND_SZ, then you need to perform the following steps:

1 Open the Path entry so that it is an editable string.
2 Select the entire string, and press Ctrl+C to copy it to the clipboard.
3 Cancel editing of the Path entry.
4 Open notepad and paste the string, to make sure it copied to the clipboard
correctly.
5 Delete the Path entry.
6 Create a new value called Path and make sure that you select REG_EXPAND_SZ
as the data type.
7 For the contents, press Ctrl+V to paste the contents of the clipboard.
8 Click OK to save the contents of the registry value.

The cause of this problem is probably an installation program that doesn't
correctly read and re-write the registry value with the correct data type.]]
from...
6. Why don't my commands work?
http://internet.cybermesa.com/~bstewart/cmdprompt.html#6

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:7E699256-27F5-467F-85E6-4C965003098A@xxxxxxxxxxxxx,
Bracinowski <Bracinowski@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
> How do you change the PATH from REG_SZ to REG_EXPAND_SZ? When I look at
> this, all I have, is the option to modify the actual path.
>
> "Nightowl" wrote:
>
>> Basiltoo <basiltoo@xxxxxxxxxxx> wrote on Sun, 13 Nov 2005:
>>
>>> It certainly does. Thank you very much Nightowl for understanding my
>>> problem and providing the solution.
>>>
>>> Thanks to all for responding
>>
>> You're welcome, Baz, glad you got it fixed :-)
>>
>> --
>> Nightowl

.



Relevant Pages

  • Re: IPCONFIG - does it work on XP Home?
    ... but the registry data type is incorrect. ... Examine the registry data type of the Path entry. ... Open the Path entry so that it is an editable string. ... To show your path in a command prompt, ...
    (microsoft.public.windowsxp.customize)
  • Re: IPCONFIG - does it work on XP Home?
    ... but the registry data type is incorrect. ... Examine the registry data type of the Path entry. ... Open the Path entry so that it is an editable string. ... To show your path in a command prompt, ...
    (microsoft.public.windowsxp.customize)
  • Re: IPCONFIG - does it work on XP Home?
    ... but the registry data type is incorrect. ... Examine the registry data type of the Path entry. ... Open the Path entry so that it is an editable string. ... To show your path in a command prompt, ...
    (microsoft.public.windowsxp.customize)
  • Re: no output for ping command
    ... The data type of the Path entry in the Registry is correct; ... The Windows firewall is turned off. ... some virus infecting my system. ...
    (microsoft.public.windowsxp.general)