I like using the command prompt to write and compile java. To write the code I enter this in cmd:
notepad MyJavaClass.java
This opens notepad and asks if I want to create new file (If it doesn't already exist). The problem for me is that I like using notepad++ as a text editor because it has nice features.
So my question is:
How do I make it so that I can type "notepad++ MyJavaClass.java" in cmd and have notepad++ open up, ready for editing without having to type the full path of notepad++?
I tried to simply place the notepad++.exe file in the System32 folder, but cmd doesn't recognize the command.
Sorry for the noobiness :)
Notepad++ is a known app, so if you launch it with the START
builtin, it'll work without having to modify the PATH
.
start notepad++ MyJava.java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With