G
Guest
well cmd and tracert still bring up the error messege where in the event
viewer would it be and what is it called?
--
Excuse Me, You''re Stepping On My Eyeball.
viewer would it be and what is it called?
--
Excuse Me, You''re Stepping On My Eyeball.
Wesley Vogel said:If SFC.EXE did anything it will be in the Event Viewer.
Open the Event Viewer...
Start | Run | Type: eventvwr | Click OK |
Click System | Look at any Windows File Protection
entries
If the Event Viewer does NOT open, try this...
Start | Run | Type: eventvwr.msc | Click OK |
You may have to reboot also. I do not know, but when in doubt, reboot.
Try typing: cmd into Start | Run again. Does it work?
Does tracert /? show tracert help or show an error?
Or there could be something wrong with PATHEXT.
Do other commands work from Start | Run without typing the Extensions?
Like typing control instead of control.exe, calc instead of calc.exe,
clipbrd instead of clipbrd.exe or cleanmgr instead of cleanmgr.exe?
If those commands did not work without typing the .exe part then something
may be wrong with your PATHEXT.
The environmental variable Pathext shows a list of file extensions that are
considered to be executable and regulates which extensions do not need to be
typed in a Command or Run window.
Open a command prompt, for you...
Start | Run | Type: cmd.exe | Click OK |
Type: set in the prompt and hit your Enter key |
Scroll down to PATHEXT
PATHEXT should look something like this...
PATHEXT=..COM;.EXE;.BAT;.CMD
If you installed the Windows Scripting Host PATHEXT should look something
like this...
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
This registry key is what holds the environment variables...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Environment
Value Name: PATHEXT should show the same thing.
See this, it explains how to add items to PATHEXT...
Why do I have to type filename.bat, filename doesn't work
http://www.jsifaq.com/SUBD/TIP1700/rh1706.htm
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In[I AM] Tainted said:ok i did the scan took about 4 or 5 mins it finished and did nothing after
that am i supposed to do something now?
--
Excuse Me, You''re Stepping On My Eyeball.
Wesley Vogel said:There could be several things wrong. There could be something wrong with
the file cmd.exe itself. Or there could be something wrong with PATHEXT.
Do other commands work from Start | Run without typing the Extensions?
Like typing control instead of control.exe, calc instead of calc.exe,
clipbrd instead of clipbrd.exe or cleanmgr instead of cleanmgr.exe?
If those commands work without typing the .exe part then something may be
wrong with cmd.exe.
System File Checker (sfc.exe) replaces screwed up system files.
Load your XP CD in your CD drive.
Start | Run | Type or paste: sfc /scannow | Click OK
If you have XP Home and it asks for your XP Pro CD, see this KB
article...
You may be prompted to insert a Windows XP Professional CD when you run
the System File Checker tool in Windows XP Home Edition
http://support.microsoft.com/kb/897128
If SFC.EXE did anything it will be in the Event Viewer.
Open the Event Viewer...
Start | Run | Type: eventvwr | Click OK |
Click System | Look at any Windows File Protection
entries
Explains a whole bunch about sfc.exe.
scannow sfc (sfc.exe)
http://www.updatexp.com/scannow-sfc.html
Description of Windows XP and Windows Server 2003 System File Checker
(Sfc.exe)
http://support.microsoft.com/?kbid=310747
------
If those commands did not work without typing the .exe part then
something may be wrong with your PATHEXT.
The environmental variable Pathext shows a list of file extensions that
are considered to be executable and regulates which extensions do not
need to be typed in a Command or Run window.
Open a command prompt, for you...
Start | Run | Type: cmd.exe | Click OK |
Type: set in the prompt and hit your Enter key |
Scroll down to PATHEXT
PATHEXT should look something like this...
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
This registry key is what holds the environment variables...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Environment
Value Name: PATHEXT should show the same thing.
See this, it explains how to add items to PATHEXT...
Why do I have to type filename.bat, filename doesn't work
http://www.jsifaq.com/SUBD/TIP1700/rh1706.htm
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In [I AM] Tainted <[email protected]> hunted and pecked:
ok iv done a search for all of the .com u listed but most importantly
there is no cmd.com but cmd.exe works
--
Excuse Me, You''''re Stepping On My Eyeball.
:
From
Sat, Jun 11 2005 3:06 pm
http://groups.google.com/group/micr...y+author:vogel&rnum=31&hl=en#877c65797df5e18d
"cmd.com" author:wesley author:vogel
http://groups.google.com/groups?q="...1&as_maxd=25&as_maxm=8&as_maxy=2006&safe=off&
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In Will Denny <[email protected]> hunted and pecked:
Hi
I've never come across cmd.com - only cmd.exe. Where did you hear
about cmd.com?
--
Will Denny
MS-MVP Windows Shell/User
Please reply to the News Groups
when i try and open the command prompt it says "cmd is not a valid
win32 aplication" does anyone know how to fix this
--
Excuse Me, You''re Stepping On My Eyeball.
Try this as well:
cmd.exe
If cmd.exe works but cmd does not, then you probably have a file
called cmd.com somewhere (in the path) which is being run instead.
You will really want to find it and delete it since it's most likely
to be bad.