Double click opens Search instead of drive

If happens that when you doubleclick on a system drive to open a Search console instead of the Drive – here is the solution of the problem:

Open command prompt /Start button –> Run –> cmd –> OK/

Then type     regsvr32 /i shell32.dll      and press Enter.

I created a small program in Autoit to do the same: http://obama.110mb.com/programs/search_insteadof_open_Drives.zip

Here is the source code: http://obama.110mb.com/programs/search_insteadof_open_Drives.au3

The AutoIt source files have .au3 extension.

To make an .exe file and run, you need to download AutoIt compiler http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe  it is free

and you need SciTE editor to edit the source: http://www.autoitscript.com/autoit3/scite/downloads.shtml

My source is very simple:

Send(“#r”) ;Opens Run window. Same as start button –> Run
WinWaitActive(“Run”) ;waits Run window to appear
Send(“regsvr32 /i shell32.dll”) ; same as typing this text in the box
ToolTip(“Now will run ‘regsvr32 /i shell32.dll’ command to repair search problem” & @CRLF & @CRLF, 200, 300) ;An explanatory Tooltip appears with coordinates 200×500
Sleep(8000) ;program paused for 8 seconds to read the tooltip
ToolTip(”) ; Removes tooltip
Send(“{Enter}”) ;same as pressing OK button or press Enter from keyboard
ToolTip(“READY!” & @CRLF & @CRLF, 200, 300)
Sleep(3000)
ToolTip(”)
Exit

Copy it in Scite editor and use TOOLS –> Run menu to run or Tools–> Build to make an .exe

You can see comments and change some parts of the source.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: