Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I hit Start->Run and type "Chrome", nothing happens (no new "chrome.exe" process is launched, not error, nothing).

When I hit Start (without "Run"), type Chrome and run it, it works.

How do I find what shortcut is run via Start->Run ? When I open a command prompt and write "Chrome.exe", it doesn't recognize it as an executable program.

share|improve this question
    
I would propose to change the title to "How do I find what shortcut is run via Start->Run ?", mostly because this is the main question you ask, and also because I think this is interesting, and I am wondering about asking it directly. Or maybe keep your question specific, and I will ask it directly, for the general case. –  Gnoupi Jun 28 '10 at 15:56
    
@Gnoupi - changed, thanks. –  ripper234 Jun 29 '10 at 19:05
add comment

3 Answers

It's because the Chrome folder isn't in the PATH variable. This environment variable decides which locations you can refer to without a path specified. The reason it works with just opening start is that it just searches for Chrome in the programs menu instead of searching for the executable file itself. Normally the Chrome executable is located as "C:\Users\username\AppData\Local\Google\Chrome\application\chrome.exe" ("%LOCALAPPDATA%\Google\Chrome\application\chrome.exe")

share|improve this answer
    
But why wouldn't it cause an error if I try to run it from start\run ? When I open start\run and type "asdf", I get "Windows can't find file ...". When I do the same with Chrome, nothing happens. –  ripper234 Jun 17 '10 at 11:40
    
Well, I tried running Chrome from the run menu, and against all logic, it actually runs Chrome for me when I do it. Check the .lnk (shortcut) file from the programs menu, and check what it specifies or just run it with "%LOCALAPPDATA%\Google\Chrome\application\chrome.exe" (thanks Johannes). –  Christoffer Madsen Jun 17 '10 at 12:04
2  
There is more than just %PATH%: Windows has App Paths; Windows 7 might also check all items in Start Menu. –  grawity Jun 18 '10 at 11:57
    
Oh, I've never thought of that, thanks for telling me. –  Christoffer Madsen Jun 18 '10 at 12:03
    
Adding Chrome.exe to path didn't work. Now, from cmd.exe typing "chrome" launches it correctly, but typing "chrome" into the run prompt still doesn't do anything (no error message, just nothing happens). –  ripper234 Jun 28 '10 at 15:30
add comment

Along with the paths listed by Madsen, the shortcuts Run is referencing are listed in the Registry.

Run regedit, then navigate to:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft Windows\CurrentVersion\App Paths

(this might be a bit different on 7, but I doubt it).

You need to make sure there are entries (Default) and Path for chrome.exe here, with the data field (for both) being the filepath where the program is located.

share|improve this answer
    
and to answer your comment question above re: "why wouldn't it cause an error?", there is probably an existent entry for Chrome.exe - its just not pointing to the right place –  分かりますか Jun 28 '10 at 17:48
    
Sorry, it didn't work. The registry setting was just as it should have been. Reinstalling Chrome did the trick. –  ripper234 Jun 30 '10 at 9:43
    
Cool, glad you've worked it out! –  分かりますか Jun 30 '10 at 19:47
add comment
up vote 1 down vote accepted

None of the other answers worked, but simply reinstalling Chrome did the trick.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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