To replace WinDOS default resource manager with Total Commander
Total Commander (TC) is a powerful resource manager.
The TC itself does not have the functionality to replace Windows Explorer, and it has to be solved by itself.
First step Google to see if there is no answer. At that time found a lot of articles, but the actual operation of their own is not perfect. So, referring to the answers, I wrote a script to replace Windows Explorer with AutoHotkey.
Function:
1.初次运行用TC替换资源管理器,并在右键菜单添加用explorer打开。2.再次运行恢复资源管理器,并去除右键菜单的用explorer打开功能。
AutoHotkey Code:
1;d ate:2014-07-062 ; Replace the resource manager with TC and recover resource manager3; mainly from http://Blog.xiazhiri.com/tags/totalcmd/'s article,4, and also based on http://Qing.blog.sina.com.cn/2002017477/77545cc533002ie4.html's article added right-click to open With Explorer5In addition, reference is made to http://blog.csdn.net/lord_is_layuping/article/details/7435989 's article6 RegRead, Isexp, HKEY_LOCAL_MACHINE, Software\classes\folder\shell\open\command, Delegateexecute7If (isexp="{11dbb47c-a525-400b-9e80-a54615a090c0}")8 {9 RegDelete HKEY_LOCAL_MACHINE, Software\classes\folder\shell\open\command, DelegateexecuteTenRegWrite, REG_EXPAND_SZ, HKEY_LOCAL_MACHINE, Software\classes\folder\shell\open\command,, '"%a_workingdir%\totalcmd.exe '"`"'%1 '" One RegWrite, Reg_expand_sz,hkey_local_machine, Software\classes\folder\shell\openwithexplorer, OpenwithExplorer A this sentence seems to be dispensable. - ; RegWrite, Reg_expand_sz,hkey_local_machine, Software\classes\folder\shell\openwithexplorer, MultiSelectModel, Document - RegWrite, Reg_expand_sz,hkey_local_machine, Software\classes\folder\shell\openwithexplorer\command, Multiselectmodel, Document theRegWrite, Reg_expand_sz,hkey_local_machine, Software\classes\folder\shell\openwithexplorer\command,, '"%SystemRoot%\Explorer.exe '"`"'%1 '" -RegWrite, Reg_expand_sz,hkey_local_machine, Software\classes\folder\shell\openwithexplorer\command, Eelegateexecute, {11dbb47c-a525-400b-9e80-A54615A090C0} -Traytip, switch totalcommader to default File Manager, 2000 -Sleep, 1500 + } - Else + { ARegWrite, REG_EXPAND_SZ, HKEY_LOCAL_MACHINE, Software\classes\folder\shell\open\command, DelegateExecute, { 11dbb47c-a525-400b-9e80-A54615A090C0} atRegWrite, REG_EXPAND_SZ, HKEY_LOCAL_MACHINE, Software\classes\folder\shell\open\command,, '%SystemRoot '%\explorer.exe - regdelete HKEY_LOCAL_MACHINE, Software\classes\folder\shell\openwithexplorer -Traytip, restore Explorer as default File Manager, 2000 -Sleep, 1500 -}
Description
0. 感谢网上众人的答案。1. 该脚本默认必须和Totalcmd.exe放在同一目录下,如果想更改目录请自行更改代码。2. 如果用热键启动该脚本,会更方便。3. 如果没有AutoHotkey,下面提供exe格式的。
File download [Baidu Plate]:
TC installation unloading download. exe
TC installation unloading load. ahk
Date:2014-12-5
Replace WinDOS default Explorer with Total Commander