How to Create a Shortcut to Search the Web for a File/Folder Name from Windows Explorer
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
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
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
google.reg
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.
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\
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.
6. Right click the .bat file (google.bat) and in the menu that drops down, select Edit.
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"
8. Click the X in the top right corner to exit Notepad. When prompted, click Save.
9. Open google.reg.
10. When the warning message pops up, click Yes.
11. The file will edit the Registry. Another window should pop up. Click OK.
12. Right click any file or folder name and from the menu that drops down, click Search in GOOGLE.
13. The filename should now search in Google.
Delete Search Option 1. Type in regedit in the Start Menu search bar and press Enter on your keyboard.
2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\
3. Right click the 'Search in GOOGLE' folder and click Delete.
Congratulations! You can now search any file or folder name from Windows Explorer!
Computer type PC/Desktop System Manufacturer/Model Number Compaq sr5410f case OS Windows 7 Pro 64 SP1 CPU AMD X2 4450E @ 2.3 ghz Motherboard Biostar MCP6P M2+ Memory 4.0 g Graphics Card Nvidia GeForce 9600 GT , 512mb Sound Card onboard Monitor(s) Displays auria eq2367 Screen Resolution 1920 x 1080
Keyboard logitech wave cordless Mouse logitech LX8 cordless laser mouse PSU 250 watts Case Compaq Cooling couple fans Hard Drives 1 tb Hitachi HDT721010SLA scsi, 500 gb external Internet Speed comcast hi speed 19 dn 8 up Antivirus Microsoft Security Essentials Browser IE10 Other Info Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
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.
System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64/Windows 8 Consumer Preview x64/Ubuntu 11.04 CPU Intel Pentium Dual Core E6700 3.2GHz Motherboard ASUS P5G41T-M LX Memory Strontium 8192MB DDR3 1333Mhz Graphics Card msi GeForce N560GTX-M2D1GD5 1GB Sound Card Realtek HD Audio Monitor(s) Displays CHIMEI CMV 221D 22" Screen Resolution 1680x1050
Keyboard Microsoft Wireless Keyboard 1000 Mouse Microsoft Wireless Optical Mouse 2000 PSU SHAW Viper-1500w Gaming PSU Case Black eMaxx ATX Mini Tower Case Hard Drives Seagate Barracuda LP Green 3.5'' 2TB Internal HDD 5900RPM + WD Elements Desktop 1TB External HDD 7200RPM Internet Speed 100GB @ 4.76Mbps
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
Computer type Laptop System Manufacturer/Model Number Compaq Presario A916NR Notebook PC OS Windows 7 Enterprise 32 bit CPU Intel Pentium Dual CPU T2330 @ 1.60Ghz Motherboard COMPAQ Memory 2.0GB Graphics Card Intel
Hard Drives Seagate ST9500325AS ATA Device Antivirus n/a Browser IE, Firefox, Chrome (in that order)