Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add Start->Run shortcuts in Windows XP?

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?

like image 656
glennkentwell Avatar asked Nov 22 '08 16:11

glennkentwell


People also ask

How do I create a shortcut in Windows XP?

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.

Does XP have Start button?

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.

What is the shortcut of Run option?

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.

How to create a startup shortcut in Windows 10?

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.

How do I add a shortcut to the desktop?

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

How to add a program to startup in Windows XP?

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.

How do I add app shortcuts to the Windows Start menu?

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.


2 Answers

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

  1. 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
  2. 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\
  3. 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
like image 199
Tom Haigh Avatar answered Nov 15 '22 23:11

Tom Haigh


3 steps.

  1. Create a shortcut to the foo.exe you want to run (foo.lnk)

  2. Copy the foo.lnk to your C:\windows directory.

  3. Run foo.exe by simply typing "foo" in your run dialog. ("start foo" in cmd prompt works too)

like image 38
Yew Long Avatar answered Nov 16 '22 00:11

Yew Long