Martin,
You are typing netstat into a command prompt, right? cmd.exe and not
command.com?
Start | Run | Type: cmd | Click OK
Typing netstat into a cmd.exe window with both autoexec.nt and config.nt
missing from C:\Windows\System32 worked fine for me, I tried it.
command.com will not even open with either autoexec.nt or config.nt or both
missing from C:\Windows\System32 for me, I tried it.
I wonder if your cmd.exe is damaged or got hijacked. Make sure that cmd.exe
is opening.
Paste the following line into the Start | Run box and click OK...
C:\WINDOWS\System32\cmd.exe
Then open the Task Manager...
Ctrl + Shift + Esc
Click the Processes tab
Click the Image Name header to alphabetize
Make sure that cmd.exe is listed
Type netstat.exe into the command window and see what happens.
Sometimes a virus or trojan disables CMD.EXE, NETSTAT.EXE, PING.EXE,
REGEDIT.EXE, TASKKILL.EXE, TASKLIST.EXE and TRACERT.EXE and substitutes
CMD.COM, NETSTAT.COM, PING.COM, REGEDIT.COM, TASKKILL.COM, TASKLIST.COM and
TRACERT.COM in their places.
Try this...
Start | Run | Type: regedit | Click OK
What happens? Does the Registry Editor open?
CMD.COM, NETSTAT.COM, PING.COM, REGEDIT.COM, TASKKILL.COM, TASKLIST.COM and
TRACERT.COM are not correct XP files.
I suspect that you have or had a virus/trojan/worm.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In
Martin said:
Wesley said:
Copy the autoexec.nt file from C:\Windows\Repair to C:\Windows\System32
And set Attributes for autoexec.nt to Read-only.
Or %systemroot%\Repair to %systemroot%\System32
Read-only
[[Specifies whether this file is read-only, which means that it cannot be
changed or accidentally deleted.]]
1. Right click the file.
2. Properties.
3. Select: Read-only.
4. Click: Apply.
5. Click: OK.
Do all of the above for config.nt also.
Thanks Wesley but no good i'm afraid. No Viruses or Trojans present i'm
pleased to say. Followed the instructions to the letter and tried the
Netstat command. CPU usage up to 100% and program hangs.
--
Best Wishes from Martin
So many questions, so few answers.
PGP Key ID, 0x581E4CE1