标题: [注册表类] [已解决]批处理删除文件夹窗口左边导航格的“库” 谢谢 [打印本页]
作者: yyz219 时间: 2022-12-26 00:03 标题: [已解决]批处理删除文件夹窗口左边导航格的“库” 谢谢
完美解决了(答案在下一层楼)
***********************************
***********************************
原来问题:
求批处理:删除文件夹窗口左边导航格的“库” 谢谢
【系统:windows7--64位】
作者: Batcher 时间: 2022-12-26 10:23
回复 1# yyz219
1-备份.bat- @echo off
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak1.reg"
- reg export "HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak2.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" "LibrariesBak3.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}" "LibrariesBak4.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}" "LibrariesBak5.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}" "LibrariesBak6.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}" "LibrariesBak7.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}" "LibrariesBak8.reg"
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" "LibrariesBak9.reg"
复制代码
2-删除.bat- @echo off
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
- reg delete "HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}" /f
- reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /f
- taskkill /f /im explorer.exe
- start explorer.exe
复制代码
3-恢复.bat- @echo off
- reg import "LibrariesBak1.reg"
- reg import "LibrariesBak2.reg"
- reg import "LibrariesBak3.reg"
- reg import "LibrariesBak4.reg"
- reg import "LibrariesBak5.reg"
- reg import "LibrariesBak6.reg"
- reg import "LibrariesBak7.reg"
- reg import "LibrariesBak8.reg"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /t REG_DWORD /d "1" /f
- taskkill /f /im explorer.exe
- 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://www.bathome.net/) |
Powered by Discuz! 7.2 |