批处理设置桌面路径

@echo off
/*echo 开始设置桌面及我的文档路径,按任意键继续*/
echo 开始设置桌面,按任意键继续


@reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Desktop" /d "%USERPROFILE%\桌面" /f


@reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "AppData" /d "D:\Documents and Settings\Administrator\Application Data" /f


@reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Desktop" /d "D:\Documents and Settings\Administrator\桌面" /f




/*echo 开始设置我的文档路径,按任意键继续*/
echo 路径修改完成按任意键关闭
pause>nul

你可能感兴趣的:(Windows桌面,操作系统)