windows10用户文件夹里的“文档”恢复默认位置
来源:网络收集 点击: 时间:2024-03-01打开cmd(管理员),完整复制下面内容粘贴到cmd里,按回车键。
cmd /c md %userprofile%\Documentsreg add hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders /v Personal /t reg_sz /d %USERPROFILE%\Documents /freg add hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders /v Personal /t reg_expand_sz /d ^%USERPROFILE^%\Documents /freg delete hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders /v {F42EE2D3-909F-4907-8871-4C22FC0BF756} /f

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

cmd /c (echo.echo echo LocalizedResourceName=@^%SystemRoot^%ystem32hell32.dll,-21770echo IconResource=^%SystemRoot^%ystem32\imageres.dll,-112echo IconFile=^%SystemRoot^%ystem32hell32.dllecho IconIndex=-235)%userprofile%\Documents\desktop.iniattrib %userprofile%\Documents\desktop.ini +s +h

至此,“文档”文件夹完美恢复了原貌!
你可以把原来文档里的散乱文件再剪切回来!
分享结束,如果帮到你了,别忘了投票和点赞!

建议大家以后想移动“c:\users\你的账户\”路径下的文件夹时一定要指向某分区某个文件夹!
WINDOWS10操作系统重定向文档文件夹移动位置版权声明:
1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。
2、本站仅提供信息发布平台,不承担相关法律责任。
3、若侵犯您的版权或隐私,请联系本站管理员删除。
4、文章链接:http://www.1haoku.cn/art_191347.html