Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows commands cannot be found 1

Status
Not open for further replies.

serializer

Programmer
May 15, 2006
143
SE
I am not sure what have happened but all Windows commands (in command window) like "telnet" and "ping" has stopped working with error: "'telnet' is not recognized as an internal or external command, operable program or batch file.".

It might have something to do with environment Variables - I am not sure. The commands work if I move to the appropriate directory i.e. System32 folder.

 
The bare minimum that the PATH variable should contain:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0
(copy and paste it into your PATH variable box)

How to set the path in Windows 7.

PS: took me a whole two minutes on Google to find...

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"
 
> PS: took me a whole two minutes on Google to find...

gotta love those cheap stars though right? :)

ACSS - SME
General Geek

CallUsOn.png


1832163.png
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top