Notes on what to do and the cause when a process name is not found in the tasklist command.
I recently ran into a situation where autohotkey couldn’t be found even when running tasklist in cmd. This can happen not just with AutoHotkey, but with other software as well.
>tasklist|find "AutoHotkey"
AutoHotkey.exe 8532 Console 1 10,360 K
>tasklist|find "autohotkey"
>tasklist|find "Auto"
AutoHotkey.exe 8532 Console 1 10,360 K
It seems to be something like this.
At least cmd’s tasklist appears to be case-sensitive for process names.
For AutoHotkey specifically, it means you need to enter AutoHotkey, not autohotkey, for it to appear.