bat复制文件到文件夹

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26702601/article/details/82754235

新建txt,复制一下内容保存,修改txt后缀为bat,双击运行即可将F:\test路径下所有的文件复制到D:\test文件夹下(路径有空格注意使用"" ,例如"D:\test a\test")

@echo off
echo "copy workspace html to server"
echo.
xcopy F:\test\*.* "D:\test" /s /e /c /y /h /r

猜你喜欢

转载自blog.csdn.net/qq_26702601/article/details/82754235