Robocopy 一个文件后关机

robocopy c:\folder \\192.168.1.10\shared somefile.dat & shutdown -s -t 30 -f

 此例子复制c:\folder\somefile.dat到\\192.168.1.10\shared\somefile.dat,无论结果,robocopy结束后30秒强制关机。

posted @ 2018-06-08 13:41  Bob-wei  阅读(177)  评论(0编辑  收藏  举报