Trouble with CMD recognizing commands

Posted: 02-05-2004, 01:26 AM
When using the command line, the machine does not recognize commands like "ping", "ipconfig", etc. I see where someone reported that in the registry, the path should be of type REG_EXPAND_SZ. I checked and in my machine it is REG_SZ. The only thing is I am not familiar with how to change it. Could someone tell me how since I am not a registry expert?

Trouble with CMD recognizing commands


Responses to "Trouble with CMD recognizing commands"

Rich Barry
Guest
Posts: n/a
 
Re: Trouble with CMD recognizing commands
Posted: 02-05-2004, 03:13 AM
Rick, if you have a WinXP CD you can try a system file check. Start>Run
type: sfc /scannow Have the WinXP CD
in the cdrom drive.
"Rick" <rlovell@nc.rr.com> wrote in message
news:8C5C0F1F-495B-4243-BB16-BD84C4568EA3@microsoft.com...
> When using the command line, the machine does not recognize commands like
"ping", "ipconfig", etc. I see where someone reported that in the registry,
the path should be of type REG_EXPAND_SZ. I checked and in my machine it is
REG_SZ. The only thing is I am not familiar with how to change it. Could
someone tell me how since I am not a registry expert?


Hemlock tree
Guest
Posts: n/a
 
Re: Trouble with CMD recognizing commands
Posted: 02-05-2004, 04:18 AM
Go to My computer

right click --- > properties ---> advanced --> enviromental variables
---> Comspec %SystemRoot%\system32\cmd.exe

this is like the old dos (cmd) (command) path statement
find ping ipconfig and make sure they are in a directory pointed to by
the Comspec entry for your account.

HTH

Hemlock


On Wed, 4 Feb 2004 19:13:55 -0800, "Rich Barry"
<rbarry@NOTsocal.rr.com> wrote:
> Rick, if you have a WinXP CD you can try a system file check. Start>Run
>type: sfc /scannow Have the WinXP CD
> in the cdrom drive.
>"Rick" <rlovell@nc.rr.com> wrote in message
>news:8C5C0F1F-495B-4243-BB16-BD84C4568EA3@microsoft.com...
>> When using the command line, the machine does not recognize commands like
>"ping", "ipconfig", etc. I see where someone reported that in the registry,
>the path should be of type REG_EXPAND_SZ. I checked and in my machine it is
>REG_SZ. The only thing is I am not familiar with how to change it. Could
>someone tell me how since I am not a registry expert?
>
*Vanguard*
Guest
Posts: n/a
 
Re: Trouble with CMD recognizing commands
Posted: 02-05-2004, 05:55 PM
"Hemlock tree" said in news:qng320p7d9cds67ebkjj70a0ng3nq13a5c@4ax.com:
> Go to My computer
>
> right click --- > properties ---> advanced --> enviromental variables
> ---> Comspec %SystemRoot%\system32\cmd.exe
>
> this is like the old dos (cmd) (command) path statement
> find ping ipconfig and make sure they are in a directory pointed to by
> the Comspec entry for your account.
You are talking about the wrong environment variable. COMSPEC specifies
where to find the command-line interpreter loaded in a DOS shell. That's
why it points to cmd.exe. It is the PATH environment variables that you
need to edit. Notice I used plural here. There is a SYSTEM and a USER
version of the PATH environment variable. If you want everyone who logs on
to include a path in their copy of the PATH environment variable then edit
the SYSTEM version of PATH. If you want only your account to use the
modified path then edit the USER version of PATH. When you logon, the
SYSTEM and USER versions of PATH get concatenated together.

--
__________________________________________________ __________
*** Post replies to newsgroup. E-mail is not accepted. ***
__________________________________________________ __________


 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
commands Sam Windows XP Configuration & Management 2 08-14-2004 05:04 PM
Dos Commands Liz Windows XP Basics 3 03-06-2004 12:47 AM
Trouble with cmd.exe not recognizing commands dlr441 Windows XP Help & Support 0 01-29-2004 03:11 PM
ms commands tim Windows XP Setup 1 11-11-2003 10:17 PM
trouble with files/folders commands M Windows XP Basics 0 11-04-2003 08:06 PM