Does anyone know how you setup new commands to launch an application from the Start->Run box?
ie. you can type "firefox", "winword" or "excel" into the Run box and those applications will open even though they're not in the system path, but others won't. For example, with Firefox, there's no files named firefox.* in any of my system path directories:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;c:\Program Files\Microsoft
SQL Server\90\Tools\binn\
So there must be some way of linking applications with this path to create a shortcut command, maybe in the registry?
For example, I want to be able to launch Google Talk from the Run command, but typing the executable's name "googletalk.exe" doesn't do anything, which makes sense because it's not in the system path, but neither is firefox.exe, and typing "firefox" works.
Does anyone have any ideas?
To add a shortcut by right-clicking:Double-click a drive or folder. Right-click the file, program, or folder for which you want to make a shortcut. A pop-up menu appears. Choose Create Shortcut.
All the software programs and utilities on your computer are accessed via Windows' Start menu. You display the Start menu by using your mouse to click the Start button, located in the lower-left corner of your screen. As you can see in Figure 3.8, the Windows XP Start menu consists of two columns of icons.
Opening the Run box To access it, use the keyboard shortcut Windows key + X . In the menu, select the Run option. You can also press the keyboard shortcut Windows key + R to open the Run box.
Now go ahead and find the program that you want to have startup when Windows starts. Make sure you locate the EXE file. Now simply right-click on that EXE file and choose Create Shortcut.
To add a shortcut to the desktop using Windows Explorer or My Computer: 1 Open Windows Explorer or My Computer. 2 Double-click a drive or folder. 3 Click the file, program, or folder for which you want to make a shortcut. ... 4 Choose File Create Shortcut. 5 Resize the window so you can see the desktop. More items...
Pretty easy eh! The second way you can add a program to startup in Windows XP is to create a scheduled task that runs the program. Go to Start, then Control Panel and click on Scheduled Tasks. Click on Add Scheduled Task to create a new task. The wizard will start.
If an app shortcut or executable (.exe) file is on the desktop, right-click it and select Pin to Start. You can also add an item to the Start Menu from the File Explorer. Open the folder containing the app, right-click the EXE file, and select Pin to Start. It’s possible to add app shortcuts to the Windows Start Menu from the Start Menu itself.
From http://commandwindows.com/runline.htm:
Adding applications to the Path
Alternatively, the Registry can be edited to explicitly contain the path to the desired executable file or files. The Registry key involved isHKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
- Create a new sub-key with the name of the executable file that you wish to add to the path. e .g., HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\somefile.exe
- In this new key, add a string variable named "Path" containing the value of the the path to your new executable file, e.g., C:\Program files\newprogramfolder\
- The new key will already have an empty variable (Default). Edit it to have the string value of entire address of the new program executable , e.g., C:\Program files\newprogramfolder\somefile.exe
3 steps.
Create a shortcut to the foo.exe you want to run (foo.lnk)
Copy the foo.lnk to your C:\windows directory.
Run foo.exe by simply typing "foo" in your run dialog. ("start foo" in cmd prompt works too)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With