Launch CMD with Win+Enter!
This cute little program was inspired by my experience using End4's dotfiles in Hyprland, where this feature proved extremely useful. Given my frequent SSH use, it was necessary for me to implement it cleanly on Windows.
This tiny utility hooks your keyboard to open Command Prompt in your user directory when you press Win+Enter. It sits quietly in the system tray.
- Compile resources:
windres app.rc -o app.res - Compile and link:
gcc main.c app.res -o winenter.exe -luser32 -lshell32
- Compile resources:
rc app.rc - Compile and link:
cl main.c app.res /link user32.lib shell32.lib
Run winenter.exe and enjoy!
To make WinEnter launch automatically on boot:
- Press
Win+R, typeshell:startup, and press Enter to open the Startup folder. - Copy
winenter.exe(or a shortcut to it) into this folder.
WinEnter will now start quietly in the background every time you log in!