Computing.Net > Forums > Windows XP > Command.exe. Commands not reconigze

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Command.exe. Commands not reconigze

Reply to Message Icon

Name: shinigaimi
Date: June 8, 2007 at 12:35:56 Pacific
OS: Win XP
CPU/Ram: 2.6, 512
Product: DIY
Comment:

Hi. I just discovered my cmd.exe got problems
.I run using from start then run and type cmd
However i notice tat comands like ipconfig, chkdsk and etc are not reconizged at all ?
Whats wrong ? thanks for help



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: June 8, 2007 at 14:54:05 Pacific
Reply:

What does it say?

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 2
Name: Jennifer SUMN
Date: June 8, 2007 at 14:54:22 Pacific
Reply:

So you're opening a Command Window by cmd and then entering ipconfig? What error do you get after pressing the Enter key?

Life's more painless for the brainless.


0

Response Number 3
Name: XpUser
Date: June 8, 2007 at 14:57:20 Pacific
Reply:

I think he meant Command prompt not cmd.exe. Command prompt lets you run all that in a command prompt window.

i_XpUser


0

Response Number 4
Name: Derek
Date: June 8, 2007 at 17:36:14 Pacific
Reply:

XPUser
"Command Prompt" is what it's called (because that's what it produces) and the program file itself is cmd.exe so differentiating between the two is unimportant to this post. Along similar lines is the "System Information Facility" using msconfig.exe

shinigaimi
What we need to is know is whether nothing whatsoever happens or if there are error messages? Do you even get the little black DOS Screen? Maybe some commands have gone missing.

DerekW


0

Response Number 5
Name: Razor2.3
Date: June 8, 2007 at 19:55:39 Pacific
Reply:

What do you get if you type in:
set path


0

Related Posts

See More



Response Number 6
Name: shinigaimi
Date: June 8, 2007 at 20:14:04 Pacific
Reply:

well set path command shows this C:\Documents and Settings\Skynet>set path
Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\D
ISKEE~1\DISKEE~2\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

well it is the cmd.exe i type cmd at the start, run there, for cmds such as ipconfig, chkdsk it would says

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

However if i type those cmds at the start run, it will run normally.. Why ??


0

Response Number 7
Name: Razor2.3
Date: June 8, 2007 at 21:35:08 Pacific
Reply:

Okay, what about
set systemroot

If it responds with either of these two lines:
Environment variable systemroot not defined
systemroot=

Then respond with these 2 lines:
set systemroot=c:\windows
for /f "delims=" %a in ('@echo %path%') do set path=%a

If commands start to work, let me know.


Edit: Actually, seeing as I might not be around here for a while, I might as well just get on with my solution.

IF (and only if) the above commands worked to restored cmd, type this in (while they're still working):
reg add "hklm\software\microsoft\windows nt\currentversion" /v SystemRoot /t REG_SZ /d c:\windows

That should allow commands to work after you reboot.


0

Response Number 8
Name: shinigaimi
Date: June 9, 2007 at 08:47:38 Pacific
Reply:

set systemroot does work however the command
(set systemroot=c:\windows
for /f "delims=" %a in ('@echo %path%') do set path=%a) shows a message

(C:\Documents and Settings\Skynet>set path=c:\windows\system32 c:\windows c:\wind
ows\System32\Wbem C:\PROGRA~1\DISKEE~1\DISKEE~2\)

i tried the last command too but it is not recongized in the cmd.exe prompt but it works if i type the command at the run.It prompts me wether to overwrite anot.Well i chose yes but no changes too after reboot .....

Edit: Well i change set systemroot=c:\windows\system32\
since i guess the main cmd.exe and all main cmds are inside.. well and it finally works is wat i like to say
but when i restart it go backs to the same old problem..why ? :(
BTW the last command i overwrited in the cmd.exe what does it do actually ?


0

Response Number 9
Name: Razor2.3
Date: June 9, 2007 at 15:55:41 Pacific
Reply:

Maybe, but the command gives me what I need to give you a working PATH, even if it is screwed up.

In your System Properties dialog box, there's an Advanced tab. In that tab is a button called Environment Variables. In the Environment Variables dialog is a System Variables section. In that listbox, there should be Path. Replace whatever's there with this: c:\windows\system32;c:\windows;c:\wind
ows\System32\Wbem;C:\PROGRA~1\DISKEE~1\DISKEE~2

If there's a PATH variable in the User variables section, get rid of it.

If that fixes everything, great. Otherwise, there's something going on behind the scenes, and actively sabotaging your computer's environment. Try a virus and malware scan, but no guarantees that the virus won't block the scans.


0

Response Number 10
Name: shinigaimi
Date: June 9, 2007 at 20:48:10 Pacific
Reply:

Thanks for your help.It finally works now


0

Sponsored Link
Ads by Google
Reply to Message Icon

Raid 1 Hard Drive Failure... XP vs Vista



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Command.exe. Commands not reconigze

BT\ntkrnlmp.exe could not be loaded!! www.computing.net/answers/windows-xp/btntkrnlmpexe-could-not-be-loaded/19051.html

IPSECPOL.exe will not run on XP www.computing.net/answers/windows-xp/ipsecpolexe-will-not-run-on-xp/29661.html

tftp2456.exe file not found www.computing.net/answers/windows-xp/tftp2456exe-file-not-found/74774.html