'telnet' is not recognized as an internal or external command,operable program or batch file
Solution 1:
I hope you are using Windows 7.
Telnet is disabled by default, so to enable it follow these steps:
- Open the Control Panel
- Go to Programs & Features
- In left bar select "Turn Windows features on or off"
- Find "Telnet Client" and tick it
- Click "OK"
Telnet should be working now.
Solution 2:
Telnet is a Windows feature that needs to be enabled.
Control Panel > Programs & Features > Turn Windows features on or off > check the box at Telnet Client
Solution 3:
You can install telnet client by using DISM command-line tool, e.g.:
dism /online /Enable-Feature /FeatureName:TelnetClient
or using pkgmgr
(deprecated in favor of above):
pkgmgr /iu:"TelnetClient"
Usage
The syntax is:
telnet example.com 80
where example.com
is your destination host (can be localhost
for local PC) and 80
is the port number.
When you connect, to disconnect, hit Control+], then type quit
command to exit.