'folder_open.vbs - Fixes problem where Search opens on a double click
'© Doug Knox - 03/13/2002
'Downloaded from www.dougknox.com
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!")
Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
Sunday, March 29, 2009
command prompt here
Adding a command prompt to the context menu got by right-clicking a folder in Windows Explorer: followed this link and added a Command Prompt item in Tools -> Folder Options -> Files Tab -> File Folder -> Advanced -> New with cmd.exe as the executable. The link actually mentions the item Folder, I did it for File Folder. Maybe due to this, CKRename became the default action for folders on double-clicking, just like this query on Experts-Exchange. Downloaded and ran the vbs file as mentioned there, restored to "Open" default action. The code in the vbs file is:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment