Search Engine Shortcut - Create

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.

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

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.
screenshotstep5.png
6. Right click the .bat file (google.bat) and in the menu that drops down, select Edit.
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"

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


That's it,
Jaidyn ;)







 

Attachments

Last edited by a moderator:
Nice work Jaidyn, Thanks for the removal instructions too. :cool:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
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: Windows 10 Pro x64
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. :p
 

My Computer

Computer 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(s)
msi GeForce N560GTX-M2D1GD5 1GB
Sound Card
Realtek HD Audio
Monitor(s) Displays
CHIMEI CMV 221D 22"
Screen Resolution
1680x1050
Hard Drives
Seagate Barracuda LP Green 3.5'' 2TB Internal HDD 5900RPM + WD Elements Desktop 1TB External HDD 7200RPM
PSU
SHAW Viper-1500w Gaming PSU
Case
Black eMaxx ATX Mini Tower Case
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical Mouse 2000
Internet Speed
100GB @ 4.76Mbps

My Computer

Computer type
Laptop
Computer 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(s)
Intel
Hard Drives
Seagate ST9500325AS ATA Device
Antivirus
n/a
Browser
IE, Firefox, Chrome (in that order)
Back
Top