Windows 7 Forums


Windows 7: Search Engine Shortcut - Create


Search Engine Shortcut - Create

How to Create a Shortcut to Search the Web for a File/Folder Name from Windows Explorer
Published 25 Jun 2011
Published by

Featured Tutorial

Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

Troubleshooting Windows 7 Failure to Boot
Troubleshooting Windows 7 Failure to Boot



Microsoft Account "Two-step Verification" - Turn On or Off
Microsoft Account "Two-step Verification" - Turn On or Off

How to Turn "Two-step Verification" On or Off for your Microsoft Account

Microsoft Outlook Desktop Shortcut - Create
Microsoft Outlook Desktop Shortcut - Create

How to Create a Special Outlook Desktop (Office XP style) Shortcut

Restore Point - Add "Create Restore Point" to Context Menu in Windows
Restore Point - Add "Create Restore Point" to Context Menu in Windows

How to Add "Create Restore Point" to Context Menu in XP, Vista, Windows 7, and Windows 8

Online Scanners - Scan Suspicious Files on your PC
Online Scanners - Scan Suspicious Files on your PC

How to Scan Suspicious Files using Online Scanners
How to Create a Shortcut to Search the Web for a File/Folder Name from Windows Explorer

information   Information
This tutorial will show you how to search folder and file names in a number of search engines by simply right clicking on it. For example, if right clicking the 'My Music' folder and then clicking 'Search in GOOGLE', the default browser will pop up and search the folder name in Google.
Tip   Tip
Decide on which search engine you would like to use before you make change the .bat file because
1. Having too many search options looks messy and;
2. Deleting them is a hassle.
warning   Warning
After downloading and moving the two files, DO NOT move them again. Ever. If you do, you have to edit the .reg file to match the file location and then open the file again. If you don't, it will cause the search option to malfunction which will in turn cause a whole new problem.




Here's How:
Create/Download the Files
1. Download the following files.
  • google.bat download
  • google.reg download
2. Move both files to a permanent location. If you move it after finishing this tutorial, it will cause a malfunction in the search option (read above Warning for more info).

3. Right click the downloaded .reg file (google.reg) and in the menu that drops down, select Edit.
Search Engine Shortcut - Create-screenshotstep3.png
4. In the Notepad windows that pops up, change the:
C:\\Users\\Jaidyn\\Documents\\SevenForums\\Tutorials\\Search Engine Shortcut - Create\\google.bat\
to the location of the .bat file. Make sure that there are two backward slashes between each folder rather than one. Also make sure that there is a backward slash at the end of the .bat file.
For example:
C:\\Folder\\Folder\\google.bat\

Search Engine Shortcut - Create-screenshotstep4.png
You should also change the 'Search in GOOGLE' text to whatever search engine you are planning to use. For example: 'Search in BING' or 'Search in IMDb'.

5. Click the X in the top right corner to exit Notepad. When prompted, click Save.
Search Engine Shortcut - Create-screenshotstep5.png
6. Right click the .bat file (google.bat) and in the menu that drops down, select Edit.
Search Engine Shortcut - Create-screenshotstep6.png
7. The .bat file should open in Notepad. To change the search engine that is used when a file/folder name is searched, change the text to:
Google
start "" "http://www.google.com/search?q=%~n1"
Yahoo
start "" "http://au.search.yahoo.com/search?p=%~n1"
IMDb
start "" "http://www.imdb.com/find?q=%~n1"
Bing
start "" "http://www.bing.com/search?q=%~n1"
Wikipedia
start "" "http://en.wikipedia.org/w/index.php?title=%~n1"

Search Engine Shortcut - Create-screenshotstep7.png
8. Click the X in the top right corner to exit Notepad. When prompted, click Save.
Search Engine Shortcut - Create-screenshotstep8.png
9. Open google.reg.
Search Engine Shortcut - Create-screenshotstep9.png
10. When the warning message pops up, click Yes.
Search Engine Shortcut - Create-screenshotstep10.png
11. The file will edit the Registry. Another window should pop up. Click OK.
Search Engine Shortcut - Create-screenshotstep11.png
12. Right click any file or folder name and from the menu that drops down, click Search in GOOGLE.
Search Engine Shortcut - Create-screenshotstep12.png
13. The filename should now search in Google.
Search Engine Shortcut - Create-screenshotstep13.png
Delete Search Option
1. Type in regedit in the Start Menu search bar and press Enter on your keyboard.
Search Engine Shortcut - Create-2screenshotstep1.png
2. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\
Search Engine Shortcut - Create-2screenshotstep2.png
3. Right click the 'Search in GOOGLE' folder and click Delete.
Search Engine Shortcut - Create-2screenshotstep3.png
Congratulations! You can now search any file or folder name from Windows Explorer!


That's it,
Jaidyn









Need more help? Try searching our extensive help and support site.
Loading
25 Jun 2011   #1
derekimo

Windows 7 Pro 64 SP1
East Bay Area, CA
 
 

Nice work Jaidyn, Thanks for the removal instructions too.

My System SpecsSystem Spec

27 Jun 2011   #2
JaidynM

Windows 7 Ultimate x64/Windows 8 Consumer Preview x64/Ubuntu 11.04
Somewhere Over The Rainbow
 
 

No problem. I wasn't going to put the deletion instructions in at first but decided to after finding out that having the search option can be slightly annoying.
My System SpecsSystem Spec
26 Mar 2013   #3
MrJJ

Windows 7 Enterprise 32 bit
 
 

This isn't working for me, I was wandering if you had any tips on why? Browser opens but to
http://%22http//www.google.com/search?q=Windows",,-1,0,,,,
if i use it on Windows folder, or any folder or file always adds a %22http
My System SpecsSystem Spec
.


Comment

 Search Engine Shortcut - Create problems?



Tutorial Tools



Similar help and support threads for: Search Engine Shortcut - Create
Windows 7 Tutorial Category
Search and Indexing Troubleshoot Shortcut - Create Tutorials
Solved Firefox Search Engine Browsers & Mail
Search Shortcut - Create Tutorials
What is your favorite search engine? Browsers & Mail
What search engine? Chillout Room


All times are GMT -5. The time now is 06:06 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32