标签:windows8这台电脑文件夹 windows10此电脑文件夹 win10 删除此电脑中的文件夹
将以下代码保存为123.bat文件,用管理员权限运行,选择显示或隐藏
_____________________________________________________________
@echo off
set /P aa="隐藏此电脑中的文件夹请按1,按其它任意键则显示。"
if /i %aa%==1 ( set sss=Hide ) else ( set sss=show )
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
echo y | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d %sss% /f
exit
_______________________________________________________________
本文出自 “学习备忘” 博客,请务必保留此出处http://huaiph.blog.51cto.com/6805690/1769107
标签:windows8这台电脑文件夹 windows10此电脑文件夹 win10 删除此电脑中的文件夹
原文地址:http://huaiph.blog.51cto.com/6805690/1769107