md xxx
rd /q xxx
del /q xxx
copy source target copy source target_dir
有时候,调用外部程序可能只执行第一条就结束了,所以用call,这样能在bat后自动执行
call
使用os和shutil等即可。