无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1919|回复: 3
打印 上一主题 下一主题

[求助] pe中idm绿化和BCompare右键cmd(两个问题都已解决)

[复制链接]
跳转到指定楼层
1#
发表于 2020-5-2 11:58:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 cookoe 于 2020-5-2 13:06 编辑

idm下载绿化,exec执行无效没反应,但是进系统双击执行可以顺利完成并正常使用
  1. @ECHO OFF & PUSHD "%~DP0" && CD /D "%~DP0"
  2. >NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (
  3.     ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"
  4.     ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"
  5.     "%TEMP%\Getadmin.vbs"
  6.     DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL
  7.     Exit /b
  8. )

  9. taskkill /f /im IDM* >NUL 2>NUL
  10. taskkill /f /im IEMon* >NUL 2>NUL

  11. reg delete "HKCU\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >NUL 2>NUL
  12. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >NUL 2>NUL
  13. reg delete "HKLM\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >NUL 2>NUL
  14. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >NUL 2>NUL
  15. reg delete "HKCU\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >NUL 2>NUL
  16. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >NUL 2>NUL
  17. reg delete "HKLM\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >NUL 2>NUL
  18. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >NUL 2>NUL
  19. reg delete "HKCU\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >NUL 2>NUL
  20. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >NUL 2>NUL
  21. reg delete "HKLM\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >NUL 2>NUL
  22. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >NUL 2>NUL
  23. reg delete "HKCU\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >NUL 2>NUL
  24. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >NUL 2>NUL
  25. reg delete "HKLM\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >NUL 2>NUL
  26. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >NUL 2>NUL
  27. reg delete "HKCU\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >NUL 2>NUL
  28. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >NUL 2>NUL
  29. reg delete "HKLM\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >NUL 2>NUL
  30. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >NUL 2>NUL
  31. reg delete "HKCU\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >NUL 2>NUL
  32. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >NUL 2>NUL
  33. reg delete "HKLM\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >NUL 2>NUL
  34. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >NUL 2>NUL
  35. reg delete "HKCU\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >NUL 2>NUL
  36. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >NUL 2>NUL
  37. reg delete "HKLM\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >NUL 2>NUL
  38. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >NUL 2>NUL
  39. reg delete "HKCU\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >NUL 2>NUL
  40. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >NUL 2>NUL
  41. reg delete "HKLM\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >NUL 2>NUL
  42. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >NUL 2>NUL
  43. reg delete "HKCU\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >NUL 2>NUL
  44. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >NUL 2>NUL
  45. reg delete "HKLM\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >NUL 2>NUL
  46. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >NUL 2>NUL
  47. reg delete "HKCU\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >NUL 2>NUL
  48. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >NUL 2>NUL
  49. reg delete "HKLM\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >NUL 2>NUL
  50. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >NUL 2>NUL
  51. reg delete "HKCU\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >NUL 2>NUL
  52. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >NUL 2>NUL
  53. reg delete "HKLM\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >NUL 2>NUL
  54. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >NUL 2>NUL
  55. reg delete "HKCU\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >NUL 2>NUL
  56. reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >NUL 2>NUL
  57. reg delete "HKLM\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >NUL 2>NUL
  58. reg delete "HKLM\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >NUL 2>NUL

  59. reg delete "HKLM\SOFTWARE\Classes\CLSID\{0055C089-8582-441B-A0BF-17B458C2A3A8}" /f >NUL 2>NUL
  60. reg delete "HKLM\SOFTWARE\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >NUL 2>NUL
  61. reg delete "HKLM\SOFTWARE\Classes\CLSID\{4764030F-2733-45B9-AE62-3D1F4F6F2861}" /f >NUL 2>NUL
  62. reg delete "HKLM\SOFTWARE\Classes\CLSID\{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}" /f >NUL 2>NUL
  63. reg delete "HKLM\SOFTWARE\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >NUL 2>NUL
  64. reg delete "HKLM\SOFTWARE\Classes\CLSID\{7D11E719-FF90-479C-B0D7-96EB43EE55D7}" /f >NUL 2>NUL
  65. reg delete "HKLM\SOFTWARE\Classes\CLSID\{CDC95B92-E27C-4745-A8C5-64A52A78855D}" /f >NUL 2>NUL
  66. reg delete "HKLM\SOFTWARE\Classes\CLSID\{CDD67718-A430-4AB9-A939-83D9074B0038}" /f >NUL 2>NUL

  67. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{0055C089-8582-441B-A0BF-17B458C2A3A8}" /f >NUL 2>NUL
  68. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{0F947660-8606-420A-BAC6-51B84DD22A47}" /f >NUL 2>NUL
  69. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{4764030F-2733-45B9-AE62-3D1F4F6F2861}" /f >NUL 2>NUL
  70. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}" /f >NUL 2>NUL
  71. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{7D11E719-FF90-479C-B0D7-96EB43EE55D7}" /f >NUL 2>NUL
  72. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{AC746233-E9D3-49CD-862F-068F7B7CCCA4}" /f >NUL 2>NUL
  73. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{C950922F-897A-4E13-BA38-66C8AF2E0BF7}" /f >NUL 2>NUL
  74. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{CDD67718-A430-4AB9-A939-83D9074B0038}" /f >NUL 2>NUL
  75. reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\CLSID\{D0FB58BB-2C07-492F-8BD0-A587E4874B4E}" /f >NUL 2>NUL

  76. reg delete "HKCU\Software\DownloadManager" /v "LName" /f >NUL 2>NUL
  77. reg delete "HKCU\Software\DownloadManager" /v "FName" /f >NUL 2>NUL
  78. reg delete "HKCU\Software\DownloadManager" /v "Email" /f >NUL 2>NUL
  79. reg delete "HKCU\Software\DownloadManager" /v "Serial" /f >NUL 2>NUL
  80. reg delete "HKCU\Software\DownloadManager" /v "scansk" /f >NUL 2>NUL
  81. reg delete "HKCU\Software\DownloadManager" /v "MData" /f >NUL 2>NUL
  82. reg delete "HKCU\Software\DownloadManager" /v "tvfrdt" /f >NUL 2>NUL
  83. reg delete "HKCU\Software\DownloadManager" /v "CheckUpdtVM" /f >NUL 2>NUL
  84. reg delete "HKLM\SOFTWARE\Internet Download Manager" /f >NUL 2>NUL
  85. reg delete "HKLM\SOFTWARE\Wow6432Node\Internet Download Manager" /f >NUL 2>NUL
  86. reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "IDMan" /f >NUL 2>NUL
  87. reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "IDMan" /f >NUL 2>NUL
  88. reg add "HKCU\Software\DownloadManager" /f /v "LanguageID" /t REG_DWORD /d "2052" >NUL 2>NUL
  89. reg add "HKCU\Software\DownloadManager" /f /v "LaunchOnStart" /t REG_DWORD /d "0" >NUL 2>NUL
  90. reg add "HKCU\Software\DownloadManager" /f /v "ToolbarStyle" /d "Faenza" >NUL 2>NUL
  91. if "%PROCESSOR_ARCHITECTURE%"=="x86"  reg add "HKLM\Software\Internet Download Manager" /f /v "LName" /d "All Users" >NUL 2>NUL
  92. if "%PROCESSOR_ARCHITECTURE%"=="x86"  reg add "HKLM\Software\Internet Download Manager" /f /v "Serial" /d "88888-88888-88888-88888" >NUL 2>NUL
  93. if "%PROCESSOR_ARCHITECTURE%"=="AMD64"  reg add "HKLM\Software\WOW6432Node\Internet Download Manager" /f /v "LName" /d "All Users" >NUL 2>NUL
  94. if "%PROCESSOR_ARCHITECTURE%"=="AMD64"  reg add "HKLM\Software\WOW6432Node\Internet Download Manager" /f /v "Serial" /d "88888-88888-88888-88888" >NUL 2>NUL

  95. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s IDMIECC64.dll
  96. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s IDMGetAll64.dll
  97. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s downlWithIDM64.dll
  98. If Exist "%Public%" start /wait idmBroker.exe -RegServer
  99. start /wait IDMan.exe /rtr
  100. If Exist "%Public%" start /wait Uninstall.exe -instdriv
  101. If Exist "%Public%" net stop IDMWFP >NUL 2>NUL
  102. If Exist "%Public%" Rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 .\idmwfp.inf
  103. If "%PROCESSOR_ARCHITECTURE%"=="x86" grpconv.exe -o
  104. If Exist "%Public%" net start IDMWFP >NUL 2>NUL
  105. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s IDMShellExt64.dll
  106. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s IDMIECC64.dll
  107. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s IDMGetAll64.dll
  108. If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s downlWithIDM64.dll

  109. :: Windows XP
  110. If Not Exist "%Public%" net stop idmtdi  >NUL 2>NUL
  111. If Not Exist "%Public%" Rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 .\idmtdi.inf
  112. If Not Exist "%Public%" runonce -r
  113. If Not Exist "%Public%" grpconv.exe -o
  114. If Not Exist "%Public%" net start idmtdi >NUL 2>NUL
  115. mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\IDM下载.lnk""):b.TargetPath=""%~dp0IDMan.exe"":b.WorkingDirectory=""%~dp0"":b.Save:close")

  116. :END
  117. EXIT
复制代码
BCompare右键关联,在64位系统中正常使用,求大神改成32位系统可以正常使用:
  1. @ECHO OFF & CD /D "%~DP0" & TITLE 添加右键
  2. >NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (
  3.     ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"
  4.     ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"
  5.     "%TEMP%\Getadmin.vbs"
  6.     DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL
  7.     Exit /b
  8. )

  9. reg add "HKCU\Software\Scooter Software\Beyond Compare" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
  10. reg add "HKCU\SOFTWARE\Scooter Software\Beyond Compare 4" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
  11. reg add "HKCU\SOFTWARE\Scooter Software\Beyond Compare 4\BcShellEx" /f /v SavedLeft /d ""%CurDir%\BCompare.exe"" >NUL
  12. reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
  13. reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare 4" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
  14. reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare 4\BcShellEx" /f /v SavedLeft /d ""%CurDir%\BCompare.exe"" >NUL

  15. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\BCompare.exe" /f /ve /d ""%CurDir%\BCompare.exe"" >NUL
  16. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\BCompare.exe" /f /v UseURL /t REG_DWORD /d "1" >NUL

  17. reg add "HKLM\SOFTWARE\Classes\.bcss" /f /ve /d "BeyondCompare.Snapshot" >NUL
  18. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.Snapshot" /f /ve /d "Beyond Compare Snapshot" >NUL
  19. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.Snapshot\DefaultIcon" /f /ve /d ""%CurDir%\BCompare.exe,0"" >NUL
  20. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.Snapshot\shell\open\command" /f /ve /d ""%CurDir%\BCompare.exe" "%%1"" >NUL

  21. reg add "HKLM\SOFTWARE\Classes\.bcpkg" /f /ve /d "BeyondCompare.SettingsPackage" >NUL
  22. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.SettingsPackage" /f /ve /d "Beyond Compare Settings Package" >NUL
  23. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.SettingsPackage" /f /v EditFlags /t REG_DWORD /d "0x00100000" >NUL
  24. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.SettingsPackage\DefaultIcon" /f /ve /d ""%CurDir%\BCompare.exe,0"" >NUL
  25. reg add "HKLM\SOFTWARE\Classes\BeyondCompare.SettingsPackage\shell\open\command" /f /ve /d ""%CurDir%\BCompare.exe" "%%1"" >NUL

  26. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f /ve /d "CirrusShellEx" >NUL
  27. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /f /ve /d ""%CurDir%\BCShellEx.dll"" >NUL
  28. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /f /v ThreadingModel /d "Apartment" >NUL

  29. reg add "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" >NUL
  30. reg add "HKLM\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" >NUL
  31. reg add "HKLM\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" >NUL
  32. reg add "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" >NUL

  33. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f /v {57FA2D12-D22D-490A-805A-5CB48E84F12A} /d "Beyond Compare 4 Shell Extension" >NUL

  34. reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\Beyond Compare 4" /f /v TypesSupported /t REG_DWORD /d "7" >NUL
  35. reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\Beyond Compare 4" /f /v EventMessageFile /d ""%CurDir%\BCompare.exe"" >NUL
  36. mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\BC文件比较.lnk""):b.TargetPath=""%~DP0BCompare.exe"":b.WorkingDirectory=""%~DP0"":b.Save:close")
复制代码
官方提供的正版添加鼠标右键cmd
  1. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f /ve /t REG_SZ /d "CirrusShellEx"
  2. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /f /ve /t REG_SZ /d "%CurDir%\BCShellEx.dll"
  3. reg add "HKLM\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
  4. reg add "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"
  5. reg add "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"
  6. reg add "HKLM\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"
  7. reg add "HKLM\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx" /f /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"
  8. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f /v "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /t REG_SZ /d "Beyond Compare 4 Shell Extension"
复制代码


2#
 楼主| 发表于 2020-5-2 12:33:40 | 只看该作者
本帖最后由 cookoe 于 2020-5-2 13:09 编辑

官方提供的在pe中无法使用,具体应该是修改这里
reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare 4" /f /v ExePath /d ""%CurDir%\BCompare.exe"" >NUL
reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Beyond Compare 4\BcShellEx" /f /v SavedLeft /d ""%CurDir%\BCompare.exe"" >NUL
删除\WOW6432Node值,把官方注册表替换然后修改下cmd顶部那几句代码就OK  一切运行正常

点评

第二个能否贴个完整的修改版,谢谢!!!  详情 回复 发表于 2020-5-2 17:50
回复

使用道具 举报

3#
发表于 2020-5-2 17:50:55 | 只看该作者
cookoe 发表于 2020-5-2 12:33
官方提供的在pe中无法使用,具体应该是修改这里
reg add "HKLM\SOFTWARE\WOW6432Node\Scooter Software\Be ...

第二个能否贴个完整的修改版,谢谢!!!
回复

使用道具 举报

4#
发表于 2020-5-2 18:17:05 来自手机 | 只看该作者
顺便把PE下能用的IDM打包分享一下吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-16 20:41

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表