Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    94
  • comments
    127
  • views
    83648

Quck tool access

Sign in to follow this  
Seriema

552 views

Windows Run


Windows Run dialog screenshot
The Windows Run dialog

Isn't it nice when you can just click Start > Run or press the windows button + 'r' and then type "calc" to get the Windows Calculator? What if you could do this with all your favourite applications? Some applications make themselves available this way on install, but if it isn't you can add it. If you think about it, it's not hard to do.

The Windows Run command searches the system variable %PATH%, so the two proposed methods involve it.

The "unclean" way


Just add shortcuts to your fav tools in C:\Windows\system32, which is already in the system variable %PATH% by default.

The "clean" way


  1. Create a folder to hold the shortcuts. Like C:\Program Files\FavTools.
  2. Fill it with shortcuts to your favourite tools. Don't forget to have proper names, i.e. not "Shortcut to DebugView" but rather just "DebugView" or just "DbgVw" if you're into the new devoweling trend (seen the new Reebok site?).
  3. Add this path to the system variable %PATH%. Just right-click on the This Computer icon on the desktop and choose properties, go to the Advanced tab and click the System variables button. Here, Edit the variable %PATH%. Add the path to the tool folder you just created, don't forget the ";" that separates each path.
  4. Restart the computer. The %PATH% change usually takes effect immediatly, but sometimes (like on my computer) Windows just gets quirky and doesn't work correctly untill rebooted.

DONE! Now you can just press win+r and type the name of you fav app and presto! The built in autocomplete makes it even better!

Send To


Explorer context menu, submenu SendTo screenshot
The SendTo submenu

While we're at it, you might want to add some stuff to that SendTo menu item that shows up when right clicking on files, so you can open your fav tool with the selected file. That's easy to do too. Just add shortcuts to your fav apps in a specific folder, which should be something like this: C:\Documents and Settings\yourUser\SendTo. Whatever is in there pops up in the Send To context menu option.

Conclusion


This is in no way revolutionary, and a big part of this article could be cut out for most of you but I choose to make it newbie-friendly. If you're really nifty you could combine these two tips and add the SendTo folder to your %PATH% system variable, so you can access your fav tools by either win+r or by right-clicking on any file. If you want to run your fav tool on only a supported file types see my Simple context-menu extension. Part 1 - commandline tool redirection and Part 2 - batching articles. Or wait for my upcoming shell extension; MediatorMenu.

There also seems to be a way to add applications through the Windows Registry. This can be noted with programs such as FireFox or TextPad, neither of them sit in the %PATH% variable nor are they linked to in any of the set paths (such as C:\Windows\system32). Although they are under HKEY_CLASSES_ROOT\Applications and they both have their filepath in the default value of the subkey \shell\open\command, i.e. HKEY_CLASSES_ROOT\Applications\FIREFOX.EXE\shell\open\command, "C:\PROGRA~1\MOZILL~2\FIREFOX.EXE -url "%1"". But there are several applications under the HKCR\Applications key that are not found by Windows Run. Any insight on this is welcome.

Thank you to Jonathan for the English Windows XP screenshots.
Sign in to follow this  


5 Comments


Recommended Comments

I like the term "disemvoweling." It highlights the vulgar and excessively violent nature of this stupid devoweling fad.


Nice job on the writeup. I've done both of these things for quite a while (although I've only really done the Run trick once or twice, mostly just use it for the little tools bundled with Windows). The SendTo functionality is extremely handy for little file viewer/decoder utilities.

Share this comment


Link to comment
ApochPiQ: Haha loved that term.. "disemvoweling"! Thank you for liking the writeup, even though it wasn't something new. Just thought I'd share it with the community =)

RobLoach: Awesome! I suspected there would be a tool like that, since my first thought was to make a tool like that =P

Share this comment


Link to comment
MustEatYemen, wow that's freakin cool!!! Thanks for sharing! :D

There's always a cool app for things you need, finding them is the hard part. When I can't find one fast, I see if I can't already do that in Windows (to a satisfactory level), if that's not possible I always look around GameDev, on the last attempt I either work around the problem where I need the app or make my own - depending on what's more fun and less time consuming :P

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!