BAT脚本之判断文件是否存在
@echo off@title copy sth to current filepathmode con lines=5 cols=40SET SourceFile=123.txtSET GenFile1=456.txtif exist %SourceFile% ( if not exist %GenFile1% ( copy %SourceFile% %Ge...