Re: Need help with command prompt path



I access command prompt by clicking 'Start, Run' and entering CMD.
Then I get this prompt: P:\>. This is one of my network drives.
When I then change to C: Drive, the prompt is C:\.

The path look as follows:
PATH=C:\PROGRA~1\Borland\Delphi5Bin;C:\PVSW\BIN;%systemroot%;%systemroot%\system32;%systemroot%\system32\wbem;C:\PROGRA~1\Symantec\PC





"Pegasus (MVP)" wrote:

You actually cured the symptoms, not the cause. The registry
entry that defines your path is of the wrong type. That's why
I asked my question (which you did not answer).


"TonyV" <TonyV@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AAF798C9-1F6E-4D5B-BF70-ECB9567A1A49@xxxxxxxxxxxxxxxx
i changed my path enviroment to C:\WINDOWS
and C:\WINDOWS\SYSTEM32 and removed the %systemroot% entries.
Now it's working fine.

Thankyou.

"alanglloyd@xxxxxxx" wrote:


Check your %SystemRoot% and %System% settings by opening a command
window and entering the command ...

SET

... or ...

SET | MORE

.... to see the list of environment variables. If you have a lot of
environment variables press Return to get next line, Space to get next
pageful.

Also right-click and select properties on the Programs | Accessories |
Command Prompt menu item. I have ...

Target : %SystemRoot%\system32\cmd.exe

Start In : %HOMEDRIVE%%HOMEPATH%

My PATH environment variable (enter PATH command) includes C:\WINDOWS
and C:\WINDOWS\SYSTEM32 as a string, not the %SystemRoot% variable.

Alan Lloyd





.



Relevant Pages