怎样将桌面,我的文档,收藏夹移到D盘
对于经常上些敏感网站的人中毒是比较频繁的事,那么重装系统也是最好的选择了,但是每次都需备份桌面文件,收藏夹很麻烦,将以下代码复制到记事本,保存为bat文件(将后缀名txt改为bat)双击运行即可将桌面设定在d:\backup\desktop:
Title sis001
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v Desktop /t REG_SZ /d "d:\backup\Desktop"
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v Personal /t REG_SZ /d "d:\backup\Personal"
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v Favorites /t REG_SZ /d "d:\backup\Favorites"
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /f /v Desktop /t REG_SZ /d "d:\backup\Desktop"
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /f /v Personal /t REG_SZ /d "d:\backup\Personal"
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /f /v Favorites /t REG_SZ /d "d:\backup\Favorites"
taskkill /f /im explorer.exe & start explorer.exe & exit