首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >Windows10我的文档恢复默认

Windows10我的文档恢复默认

作者头像
码客说
发布2022-01-17 14:00:27
发布2022-01-17 14:00:27
2.3K0
举报
文章被收录于专栏:码客码客

正文

打开cmd(管理员),运行:

代码语言:javascript
复制
cmd /c "md %userprofile%\Documents&reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal /t reg_sz /d %USERPROFILE%\Documents /f&reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal /t reg_expand_sz /d ^%USERPROFILE^%\Documents /f&reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v {F42EE2D3-909F-4907-8871-4C22FC0BF756} /f"

重启电脑,定位到c:\users\你的账户\路径下,右键Documents文件夹=>属性=>自定义=>更改图标=>还原默认值=>确定

打开cmd(管理员),运行:

代码语言:javascript
复制
cmd /c "(echo.&echo [.ShellClassInfo]&echo LocalizedResourceName=@^%SystemRoot^%\system32\shell32.dll,-21770&echo IconResource=^%SystemRoot^%\system32\imageres.dll,-112&echo IconFile=^%SystemRoot^%\system32\shell32.dll&echo IconIndex=-235)>>%userprofile%\Documents\desktop.ini&attrib %userprofile%\Documents\desktop.ini +s +h"
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-01-09,如有侵权请联系 cloudcommunity@tencent.com 删除
目录
  • 正文
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档