2013年1月17日 星期四

Robocopy懶人測試


@rem read

robocopy z: g:\ro /np /Log:4bay_r_front1.txt
ping 127.0.0.1 -n 6 > null
echo y|del g:\ro\*.*
ping 127.0.0.1 -n 6 > null

robocopy z: g:\ro /np /Log:4bay_r_front2.txt
ping 127.0.0.1 -n 6 > null
echo y|del g:\ro\*.*
ping 127.0.0.1 -n 6 > null

robocopy z: g:\ro /np /Log:4bay_r_front3.txt
ping 127.0.0.1 -n 6 > null
echo y|del g:\ro\*.*
ping 127.0.0.1 -n 6 > null


@rem write prepare
robocopy z: g:\ro
ping 127.0.0.1 -n 6 > null
echo y|del z:\*.*

@rem write
ping 127.0.0.1 -n 6 > null
robocopy g:\ro z: /np /Log:4bay_w_front1.txt
ping 127.0.0.1 -n 6 > null
echo y|del z:\*.*

ping 127.0.0.1 -n 6 > null
robocopy g:\ro z: /np /Log:4bay_w_front2.txt
ping 127.0.0.1 -n 6 > null
echo y|del z:\*.*

ping 127.0.0.1 -n 6 > null
robocopy g:\ro z: /np /Log:4bay_w_front3.txt
ping 127.0.0.1 -n 6 > null
echo y|del z:\*.*