Console applications have one problem, they auto-close when they are not opened via Command Prompt
.
Open With CMD automates the process of opening the Command Prompt
in the folder, typing the app's name and pressing enter
to run the app. It offers the same privilege on the said process by keeping the console window alive after exit. It also shows execution time after the app's execution.
This lightweight programmer's tool will be a great fit for command line gurus especially those who run scripts. Scripts can be tested without worrying about not reading the exceptions that may cause the script to exit quickly, leaving insufficient time to read and analyze the exception message.
-
Right click on the app (shortcut
.lnk
or the app.exe
itself) you want to open -
Click
Open with command prompt
on the context menu.
-
A seperate console window is opened.
-
Debugging/exception/log messages is shown in the separate console window.
-
Separate console window remains opened.
-
Execution time is shown in the seperate console window.
- No separate console window will be opened.
- Debugging/exception/log messages is shown in main console window.
- Once the execution is done,
- Main console window remains opened.
- Execution time is shown in main console window.
- Windows 7 to 10 (tested 💯)
- Windows Vista & XP (untested ❌)
- Below XP (run at your own risk
⚠️ )
- C Compiler: GCC, the GNU Compiler Collection
- Tested on versions 4.8.1 to 5.3.0
- Untested on newer versions
- Resources Compiler: windres
- Installer Compiler: NSIS 3.0
- Installer Editor: HM NIS Edit
- Make sure you have atleast NSIS 3.0 and HM NIS Edit installed on your machine.
- If not, go to http://nsis.sourceforge.net/Download and download
nsis-3.0-setup
- Then, run
nsis-3.0-setup
- If not, go to http://nsis.sourceforge.net/Download and download
- Open
setup.nsi
withHM NIS Edit
- Make sure to
Compile
setup.nsi
after editing it.
This project uses Mozilla Public License Version 2.0
terminal.ico
and terminal.png
uses Creative Commons Attribution 4.0 International
- April 2015 (started)
- November 2016 (github debut)