Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Windows Run Function - How to setup keywords?

Ok so I like the ability to use the run function as often as possible, allows me to access things with ease. Unfortunately I can't access things inside of some folders without typing the whole line!

Example:
Code:
"C:\Program Files\ArcSoft\ShowBiz DVD 2\ShowBiz.exe"

Is there a way to simply add a keyword to it so when next time I try to type it in I can simply type "Showbiz"


I've done some brief skimming but came out with no avail. So any help?
 

e

Sponsor

The run function uses the environment variable PATH to know in which folder to look for; you can set that variable by going in Control Panel > System in the Advanced tab. At the bottom, there'll be a button saying "Environment Variables". Click on it and append something like "C:\Program Files\ArcSoft\ShowBiz DVD 2\" to the end.

Now when you type ShowBiz in, it'll look through the folders in the Path string for a ShowBiz.exe, and will (in theory) find it. Be aware that if there is one in another folder on the path, you may not get the wanted results.

For more on the PATH environment variable :
http://en.wikipedia.org/wiki/Environmen ... nd_Windows
http://vlaurie.com/computers2/Articles/environment.htm
 

e

Sponsor

That's not the run function though. It's merely to have a keyboard short cut (i.e.: Ctrl + G will fire some application).
 

___

Sponsor

Keyboard hotkeys for desktop shortcuts work about the same in Vista and Windows, but Stauf got you going the right way. Check out environment variables, that's what you're asking for. There are also some launcher apps that allow you to press a quick hotkey and then type in the name of a program you want to run (or do a lot of other cool things based on text entry) that are far superior to the run dialog; the one for Mac is called Quicksilver, there's one for Kubuntu named Katapult, and I know there's one for Windows too if you look it up but it doesn't come to mind atm.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top