Can't run telnet in console opened by Autohotkey
- by Steve Crane
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\Documentstelnet '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?