Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

All physical drive shows "Open With" dialogue box

Status
Not open for further replies.

dipgohil79

Programmer
Jun 14, 2002
17
IN
Hi to All,
I have windows XP pro. installed on my computer. from the last two weeks i am facing a problem that, When Ever i Try to Open my any drives ( c:, D: , E: or F: ) from my computer, i am getting the "open with" dialogue box.

From the Windows Explorer i can see the content of all the drives but i am not able to see it when i double click on any drive from "My computer" window.

Please provide solution for this problem.
 
make a new text file, open it up and copy and paste this:



Set WshShell = WScript.CreateObject("WScript.Shell")

p1 = "HKEY_CLASSES_ROOT\Directory\shell\"
p2 = "none"

WshShell.RegWrite p1, p2

p1 = "HKEY_CLASSES_ROOT\Drive\shell\"
WshShell.RegWrite p1, p2

X = WshShell.Run("REGSVR32 /I /S SHELL32.DLL",4,True)
Set WshShell = Nothing

MyBox = MsgBox("Folders will now Open when double clicked", 4096, "Finished!")





then rename the file to folder_open.vbs and double click on it, program will run and tell you when it is finished, then it shoul work, let me know if it goes ok

"You'll never see all the places, or read all the books, but fortunately,
they're not all recommended."
 
The easiest way would have been to use System Restore to go back to a point before all this trouble, but as that is a couple of weeks ago it might undo things you don't want undone, so try "lordberic's" script. Here are some additional causes for you to consider.

See if you have a hidden AutoRun.inf file in the root of the drive. Use Folder Options to view hidden and system files.

Odd Behavior
thread779-925451


Part of this thread will give you a Registry location to check (mentioned in the earlier script), and links to fix file associations.

The Menus
thread779-1297485

Search Companion Starts If You Double-Click a Folder

Another cause can be malware infection too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top