Windows Legacy OS forum

General discussion

Help!!! My CMD field does not recognize commands anymore

by Keypinitreel1 / May 28, 2007 7:58 AM PDT

Hello everybody....

I was doing some work on my pc... it has XP on it and everything works fine but when I go to my command window it no longer recognizes commands.

Ipconfig
Netstat
route print
Ping
Traceroute
and commands of that nature are not recognized as commands...I evcen downloaded Powershell and cant get basic commands to work. Any Ideas what the hell happened to my box?

CMD line output below

=======================================================================

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\KEYPINITREEL> Ipconfig
'Ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\KEYPINITREEL>netstat
'netstat' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\KEYPINITREEL>route print
'route' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\KEYPINITREEL>ping chicagobears.com
'ping' is not recognized as an internal or external command,
operable program or batch file.

Post a reply
Discussion is locked
You are posting a reply to: Help!!! My CMD field does not recognize commands anymore
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Help!!! My CMD field does not recognize commands anymore
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
What is your PATH?
by R. Proffitt Forum moderator / May 28, 2007 8:06 AM PDT

Type PATH, press enter and make sure it includes a path to those utilities.

Bob

Collapse -
Heres what I got...
by Keypinitreel1 / May 28, 2007 8:09 AM PDT
In reply to: What is your PATH?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\KEYPINITREEL> path
PATH=C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSyst
em\;C:\WINDOWS\system32\WindowsPowerShell\v1.0

Collapse -
In regards to the Path command
by Keypinitreel1 / May 28, 2007 8:10 AM PDT
In reply to: Heres what I got...

Ive never used the path command.. I typed in "Path ipconfig" and it came up blank.

Collapse -
path=c:\windows\command
by Keypinitreel1 / May 28, 2007 8:13 AM PDT

I typed in "path=c:\windows\command" and it came up blank as well

Collapse -
Your path is looped. (bad)
by R. Proffitt Forum moderator / May 28, 2007 8:15 AM PDT
In reply to: Heres what I got...
Collapse -
thanks Bob
by Keypinitreel1 / May 28, 2007 8:46 AM PDT

I have found my NETSTAT.exe and IPCONFIG.exe's... I can also see that the paths to them and frankly all of my other commands had been deleted. I can see how to set up new paths via the system properties window... I believe with a little research and practice I am now on the right path to figuring this out. I appreciate everything a ton. Happy

Collapse -
If it doesn't work out, just post back with this info...
by R. Proffitt Forum moderator / May 28, 2007 8:48 AM PDT
In reply to: thanks Bob

Your PATH and the directory that these things are in. That way I can double check the work.

Best of luck and have a speedy recovery.

Bob

Collapse -
heres what im doing...
by Keypinitreel1 / May 28, 2007 9:07 AM PDT

my Ipconfig file is in my system 32 folder....

So my path should be "C:\WINDOWS\SYSTEM32\IPCONFIG"

Now what I do is go to my system properties box... and for system variable select new... name the path IPCONFIG... then specify the path with the string I typed in above... C:\WINDOWS\SYSTEM32\IPCONFIG


Now i have typed in the variable and the string under my profile and under system but I still can not get it to execute in the CMD window....

Also.. I have just learnbed that if you type Path anything into your command window.. it deletes ALL OF THE PATHS! woah boy....good googgely moogely...

Collapse -
I'd use this one.
by R. Proffitt Forum moderator / May 28, 2007 9:17 AM PDT
In reply to: heres what im doing...

C:\WINDOWS\SYSTEM32

The path only needs the directory to search and would not include a filename.

Bob

Collapse -
ILL TRY THAT
by Keypinitreel1 / May 28, 2007 9:31 AM PDT
In reply to: I'd use this one.

One new thing I've noticed is that I can open the CMD window... drag and drop my executables from my System32 folder into it...and execute them like that.

Ill try to fix my paths now though... this is good stuff

Collapse -
ugghhh
by Keypinitreel1 / May 28, 2007 9:36 AM PDT
In reply to: ILL TRY THAT

No dice... Ive typed in the file name... copy and pasted the path with \ on the end after SYSTEM32 and without...


I have added the command under user variables and system variables.... Should I leave only Temp and TMP in the user variable section and add the commands to the system variable section?

Let me see what happens...

Collapse -
whelp
by Keypinitreel1 / May 28, 2007 9:50 AM PDT
In reply to: ugghhh

spectacular failure...

Collapse -
I can't help.
by R. Proffitt Forum moderator / May 28, 2007 9:56 AM PDT
In reply to: whelp

I don't know what your current path looks like.

Collapse -
HMMM
by Keypinitreel1 / May 28, 2007 10:05 AM PDT
In reply to: I can't help.

this is what I have
========================================================================

System Variables:

IPCONFIG C:\WINDOWS\SYSTEM32\

========================================================================

C:\Documents and Settings\KEYPINITREEL>Path
PATH=ipconfig

=======================================================================
C:\Documents and Settings\KEYPINITREEL>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

=======================================================================

Collapse -
Here's a proper path.
by R. Proffitt Forum moderator / May 28, 2007 10:08 AM PDT
In reply to: I can't help.

C:\WINDOWS\SYSTEM32

Collapse -
My PATH is as follows:
by Kees Bakker / May 28, 2007 8:46 PM PDT

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

The Wbem-part seems to be related to WMI (Windows Management Instrumentation). Maybe it's necessary because this is a business PC in a business network.

I don't have GTK, Quicktime and Powershell here, so there's no need at all to add those folders to the path. But it seems the installers of GTK, Quicktime and Powershell thought otherwise. If you agree with those, simply add them to the path above so it becomes
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\system32\WindowsPowerShell\v1.0

I think you can leave out the Wbem one.

Hope this helps.


Kees

Collapse -
HEY IT WORKED
by Keypinitreel1 / May 29, 2007 3:50 AM PDT
In reply to: My PATH is as follows:

YOU ARE THE MAN! THANKS MUCH.


I COPY AND PASTED THE PATH YOU HAD INTO MY SYSTEM AND IT WORKED.I am relieved beyond words.... I will keep this in word pad and continue to research the subject.


=========================================================================

C:\Documents and Settings\KEYPINITREEL>ipconfig/all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Key2
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : hot.rr.com

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : hot.rr.com
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti
on
Physical Address. . . . . . . . . : 00-13-20-37-4E-E1
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : fe80::213:20ff:fe37:4ee1%4
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 24.93.41.125
24.93.41.126
fec0:0:0:ffff::1%1

======================================================================
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Lease Obtained. . . . . . . . . . : Tuesday, May 29, 2007 10:22:54 AM
Lease Expires . . . . . . . . . . : Wednesday, May 30, 2007 10:22:54 AM

Tunnel adapter Automatic Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . : hot.rr.com
Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : C0-A8-01-66
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.102%2
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Disabled


======================================================================

Life is good again... Happy

Collapse -
(NT) Glad I could help.
by Kees Bakker / May 29, 2007 6:08 AM PDT
In reply to: HEY IT WORKED
Collapse -
In addition
by tomron / May 28, 2007 11:48 PM PDT

I don't know if this will work,but I found this LINK

Instead of typing cmd.exe in the run box,try command.com

Tom

Collapse -
You guys are great!
by Keypinitreel1 / May 29, 2007 12:10 AM PDT
In reply to: In addition

Thanks so much... I am about to head out to work and school...when I get back in later this evening, I will try all of the recommendations and give you all feedback on what works or doesn't.

This is a dam good learning experience.

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech for the school year

Smart tech for smart students

Forget the pencils and notebooks. Gear up your students with these portable and powerful note-taking machines.