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?

link|improve this question

feedback

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

link|improve this answer
Oh yeah. I like this. – Nic Jan 18 '11 at 23:27
feedback

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

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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