- δΈζ
- English
A simple Windows tool that launches cmd.exe in the current directory where the executable resides. If run as administrator, it will start an elevated command prompt.
- Opens
cmd.exein the directory of the executable. - Automatically detects if running as administrator.
- Launches an elevated command prompt if running as administrator.
- Fully supports directory names with spaces.
- β
CMD starts in the EXE's directory, not affected by the default
cmd.exepath. - β Automatically elevates to administrator privileges, no manual confirmation needed.
- β Shorter and more efficient code, fewer API calls, greater stability.
- β
Fully compatible with paths containing spaces (like
C:\Program Files\MyApp\app.exe).
- Windows OS
- MinGW or MSVC compiler
gcc cmd-here.c -o CMD-help.exe -mwindowscl cmd-here.c /Fe:CMD-help.exeSimply place the compiled CMD-help.exe in any directory and run it. The command prompt will open in that directory.
This project is licensed under the MIT License. See the LICENSE file for details.