When I hit Windows+R, I can type in calc and get a calculator really quickly. Same thing for mspaint. My question is, how do I adjust this so I can type "netbeans" and have it open the program?


The easiest option would be to add the following location to your path variable:

C:\Program Files\NetBeans X.X.X\bin

replace X.X.X with your version of Netbeans.

Alternatively you could make a shortcut to the netbeans.exe executable in the above path, and place that shortcut in a location thats already in your path (e.g. C:\Windows\System32).

  • Oh yeah. I like this. – Nic Jan 18 '11 at 23:27

You can DIY a specified folder as a PATH ,and create your executive programs' shortcut(.lnk) into the folder.

So the .lnk's name is the command you typed into the RUN dialog box when you want to launch it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.