Skip to content

aweeri/WinEnter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinEnter

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.

Building on Windows

Using MinGW

  1. Compile resources: windres app.rc -o app.res
  2. Compile and link: gcc main.c app.res -o winenter.exe -luser32 -lshell32

Using MSVC (Visual Studio Command Prompt)

  1. Compile resources: rc app.rc
  2. Compile and link: cl main.c app.res /link user32.lib shell32.lib

Run winenter.exe and enjoy!

Adding to Startup

To make WinEnter launch automatically on boot:

  1. Press Win+R, type shell:startup, and press Enter to open the Startup folder.
  2. Copy winenter.exe (or a shortcut to it) into this folder.

WinEnter will now start quietly in the background every time you log in!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages