PDA

View Full Version : DOS prompt doesn't use %PATH% properly


Jack
December 5th 03, 09:37 PM
How can I restore proper operation of the cmd prompt? I
notice that if I use "%SystemRoot%\system32\help" it
works but "help" doesn't work.

My %PATH% is "%SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;C:\Program Files\UltraEdit"

Thanks in advance!

Chuck
December 5th 03, 09:37 PM
"Jack" > wrote in message
...
> How can I restore proper operation of the cmd prompt? I
> notice that if I use "%SystemRoot%\system32\help" it
> works but "help" doesn't work.
>
> My %PATH% is "%SystemRoot%\system32;%SystemRoot%;
> %SystemRoot%\System32\Wbem;C:\Program Files\UltraEdit"

My path from control panel, performance and maintenance, system, advanced
tab,
environmental variables looks like yours.

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System

At the command prompt if you type set does the path parameter look normal?
ie:Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\ System32Wbem;
C:\Program Files\Common Files\Adaptec Shared\System

I have no trouble getting help to work at the cmd prompt.

Jack
December 5th 03, 09:38 PM
>-----Original Message-----
>
>"Jack" > wrote in message
...
>> How can I restore proper operation of the cmd prompt?
I
>> notice that if I use "%SystemRoot%\system32\help" it
>> works but "help" doesn't work.
>>
>> My %PATH% is "%SystemRoot%\system32;%SystemRoot%;
>> %SystemRoot%\System32\Wbem;C:\Program Files\UltraEdit"
>
>My path from control panel, performance and maintenance,
system, advanced
>tab,
>environmental variables looks like yours.
>
>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
\Wbem;C:\Program
>Files\Common Files\Adaptec Shared\System
>
>At the command prompt if you type set does the path
parameter look normal?
>ie:Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\ System3
2Wbem;
> C:\Program Files\Common Files\Adaptec
Shared\System
>
>I have no trouble getting help to work at the cmd prompt.
>
>
>.
>
Yes, the %PATH% variable looks normal in the "set"
output. See below:

C:\Documents and Settings\jcarden>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\jcarden\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=JCARDEN06
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\jcarden
LOGONSERVER=\\SERVER01
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoo t%
\System32\Wbem;C:\Program Files\UltraEdit
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WS F;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7,
GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0207
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\jcarden\LOCALS~1\Temp
TMP=C:\DOCUME~1\jcarden\LOCALS~1\Temp
USERDNSDOMAIN=KLOCWORK.COM
USERDOMAIN=WORKGROUP
USERNAME=jcarden
USERPROFILE=C:\Documents and Settings\jcarden
windir=C:\WINDOWS

C:\Documents and Settings\jcarden>

Google