Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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).

share|improve this answer
    
Oh yeah. I like this. –  Nic Jan 18 '11 at 23:27
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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