I play some older games that require ending the process explorer.exe. This is fine, except I want a way to start explorer.exe back up when I am done playing. I thought to use this:
^#e::
Run, explorer.exe
Return
The weird thing is that when I run this, it opens one window in the “Libraries”. However, when I open the task manager and Start new process --> explorer.exe, then everything comes back (desktop, taskbar, all of it).
Why does autohotkey’s run, explorer.exe not do the same thing? How can I make it start explorer.exe so I get everything back, like I did with the task manager?
UPDATE: The solution is to put %windir%\explorer.exe. This is my final code, and it works properly.
#e::
Run, %windir%\explorer.exe
Return
Did you try running it using
start.exe? i.e.Run, start explorer.exe