[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

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

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

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

求批处理:删除文件夹窗口左边导航格的“库” 谢谢
【系统:windows7--64位】
我是小白,希望老师多多帮助

回复 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
复制代码
1

评分人数

我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

回复  yyz219


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



    我试一试先 谢谢
我是小白,希望老师多多帮助

TOP

回复  yyz219


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


成功了 再次感谢
我是小白,希望老师多多帮助

TOP

回复  yyz219


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


麻烦帮我:文件夹窗口左边导航格的“网络”  也删除了
我是小白,希望老师多多帮助

TOP

返回列表