Quote:
Originally Posted by RobShort every single time I type "cmd" to open the command propmt it says:
Clearing DNS Cache...
Windows IP Configuration
Sucessfully flushed DNS Resolver Cache.
Press any key to continue... |
You are saying when you type
CMD into the Run box it does NOT open a Command Prompt but immediately runs the
ipconfig /flushdns command?
Sounds like someone created a batch file with that command and a pause statement and named it
cmd.bat, or
cmd.cmd and it's in a folder on your path statement that comes before
Windows\system32, or someone has changed the
pathext variable.
try this, type
cmd.exe instead of just
cmd and see if it will open a prompt.
If it does, type this into the Command Prompt:
For %I In (cmd.bat cmd.cmd cmd.exe) Do Echo %~$PATH:I
You should see this:
Code:
C:\>For %I In (cmd.bat cmd.cmd cmd.exe) Do Echo %~$PATH:I
C:\>Echo
ECHO is on.
C:\>Echo
ECHO is on.
C:\>Echo C:\WINDOWS\system32\cmd.exe
C:\WINDOWS\system32\cmd.exe
If you get anything showing
cmd.bat or
cmd.cmd, you'll need to rename that file to something other than
cmd.*. Try
ipflush.cmd
HTH
Jerry