把C盘我的桌面目录转移到D盘 的批处理 该桌面写 跪求高手解决啊
展开全部
适用于win7:
@echo off
md "E:\备份\%date:/=-%" 2>nul
xcopy /e "%userprofile%\desktop\*.*" "E:\备份\%date:/=-%"
echo 备份完毕
start "" "E:\备份\%date:/=-%"
pause>nul
适用于xp:
@echo off
md "E:\备份\%date:/=-%" 2>nul
xcopy /e "%userprofile%\桌面\*.*" "E:\备份\%date:/=-%"
echo 备份完毕
start "" "E:\备份\%date:/=-%"
pause>nul
@echo off
md "E:\备份\%date:/=-%" 2>nul
xcopy /e "%userprofile%\desktop\*.*" "E:\备份\%date:/=-%"
echo 备份完毕
start "" "E:\备份\%date:/=-%"
pause>nul
适用于xp:
@echo off
md "E:\备份\%date:/=-%" 2>nul
xcopy /e "%userprofile%\桌面\*.*" "E:\备份\%date:/=-%"
echo 备份完毕
start "" "E:\备份\%date:/=-%"
pause>nul
追问
大哥 为什么是 E:\备份 啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
xcopy /s "C:\Documents and Settings\Administrator\桌面" "d:\桌面\"
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询