批处理脚本内容如下:
@echo off
echo ------------------------------------------------------------------------------
echo 文件夹备份
echo ------------------------------------------------------------------------------
REM 备份文件夹路径
set source=D:\source\sourcedir
REM 备份路径
set target=E:\backdir
REM 备份目录
set dirName=wyfwpt
REM 当前日期
set ymd=