Can't run telnet in console opened by Autohotkey
Posted
by
Steve Crane
on Super User
See other posts from Super User
or by Steve Crane
Published on 2012-04-19T12:42:27Z
Indexed on
2012/07/01
21:19 UTC
Read the original article
Hit count: 331
I have enabled the telnet client on my Windows 7 64-bit machine and if I open the start menu and launch cmd from there I can run telnet.
I normally use the keyboard shortcut Win-C, implemented by this AutoHotkey snippet to open a console.
#c::Run, C:\WINDOWS\system32\cmd.exe
For some strange reason when I try to run telnet in a console window opened this way I get
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Steve\Documents>telnet 'telnet' is not recognized as an internal or external command, operable program or batch file.
Running path in any console, regardless of how it was opened produces the same output.
Can anyone shed any light on why telnet might run in one console but not the other?
© Super User or respective owner