bat批处理demo

1.基本上我们的文件都是一次性生成的 所以你判断一个文件是不是存在 其他文件一起copy是ok的;

:start

if exist "haitongHf03.20190103" (
  
    ## copy file code
    ....    
    goto end
) else (
  
## sleep 5 seconds
ping -n 5 1.1.1.1 > nul

goto start
)

:end

2.

猜你喜欢

转载自blog.csdn.net/honey_babay/article/details/85683587
今日推荐