Board logo

标题: [注册表类] [已解决]批处理删除文件夹窗口左边导航格的“库” 谢谢 [打印本页]

作者: yyz219    时间: 2022-12-26 00:03     标题: [已解决]批处理删除文件夹窗口左边导航格的“库” 谢谢

完美解决了(答案在下一层楼)
***********************************

***********************************
原来问题:

求批处理:删除文件夹窗口左边导航格的“库” 谢谢
【系统:windows7--64位】
作者: Batcher    时间: 2022-12-26 10:23

回复 1# yyz219


1-备份.bat
  1. @echo off
  2. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak1.reg"
  3. reg export "HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak2.reg"
  4. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak3.reg"
  5. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}" "LibrariesBak4.reg"
  6. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}" "LibrariesBak5.reg"
  7. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}" "LibrariesBak6.reg"
  8. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}" "LibrariesBak7.reg"
  9. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}" "LibrariesBak8.reg"
  10. reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" "LibrariesBak9.reg"
复制代码
2-删除.bat
  1. @echo off
  2. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
  3. reg delete "HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
  4. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
  5. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}" /f
  6. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}" /f
  7. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}" /f
  8. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}" /f
  9. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}" /f
  10. reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
  11. taskkill /f /im explorer.exe
  12. start explorer.exe
复制代码
3-恢复.bat
  1. @echo off
  2. reg import "LibrariesBak1.reg"
  3. reg import "LibrariesBak2.reg"
  4. reg import "LibrariesBak3.reg"
  5. reg import "LibrariesBak4.reg"
  6. reg import "LibrariesBak5.reg"
  7. reg import "LibrariesBak6.reg"
  8. reg import "LibrariesBak7.reg"
  9. reg import "LibrariesBak8.reg"
  10. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /t REG_DWORD /d "1" /f
  11. taskkill /f /im explorer.exe
  12. start explorer.exe
复制代码

作者: yyz219    时间: 2022-12-26 11:26

回复  yyz219


1-备份.bat2-删除.bat3-恢复.bat
Batcher 发表于 2022-12-26 10:23



    我试一试先 谢谢
作者: yyz219    时间: 2022-12-26 11:31

回复  yyz219


1-备份.bat2-删除.bat3-恢复.bat
Batcher 发表于 2022-12-26 10:23


成功了 再次感谢
作者: yyz219    时间: 2022-12-26 13:56

回复  yyz219


1-备份.bat2-删除.bat3-恢复.bat
Batcher 发表于 2022-12-26 10:23


麻烦帮我:文件夹窗口左边导航格的“网络”  也删除了




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2