macdavids Posted July 12, 2006 Posted July 12, 2006 (edited) Is there a way to add Change Icon item to the default folder context menu? I know how to add other items like open with notepad i.d. but change icon .... is that possible? If anyone knows how to do that, please share it. Thanks in advance Edited July 12, 2006 by macdavids
T D Posted July 25, 2006 Posted July 25, 2006 You can't. It's integrated into rightclick>properties>customize It's not as a standalone exe. And there isn't any switches to call it. But you could make an Autoit script and put it into %systemroot% that simulates rightclick>properties>customize on folders.
macdavids Posted September 8, 2006 Author Posted September 8, 2006 Hi, Could you tell me more how to do that (Autoit script and put it into %systemroot% that simulates rightclick>properties>customize on folders.) please? I'm not really familiar in tweaks.Thanks alot.Best ragards,David
BLeU Posted October 19, 2006 Posted October 19, 2006 Of course it's possible to do that..You'll just have to find out the dll calls to that option..
Plamdi Posted October 20, 2006 Posted October 20, 2006 Yes there's a way and it would be quite easy. You would need Shortcut.exe from http://www.optimumx.com/download/. You would then need to create a script to use it, here's a very cheap and nasty vb script:Option ExplicitOn Error Resume NextDim objDialog,WshShellSet WshShell=WScript.CreateObject("WScript.Shell")Set objDialog=CreateObject("UserAccounts.CommonDialog")objDialog.Filter="Icon Files|*.ico; *.dll; *.exe|All Files|*.*"objDialog.FilterIndex=1'objDialog.InitialDir="C:\"w=objDialog.ShowOpenIf w<>0 Then WshShell.Run("cmd /c shortcut /F:"""&Wscript.Arguments(0)&""" /A:E /I:"""&objDialog.FileName&""""),0,True Wscript.Quit(1)Else Wscript.Quit(0) End IfIt's untestted, so don't flame me if it doesn't work. If you saved it as ICONEDIT.VBS you would call it like: WSCRIPT ICONEDIT.VBS FILENAME.EXT. It's very primitive and limited, it does not allow selecting the icon-index (for instance, the 3rd or 4th icon in an EXE or DLL file). You would need to call the specific dialogue MS uses for their icons
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now