返回列表 发帖
好像少讲了
if exist 文件(目录) 命令
意思是如果存在文件或目录,就执行后面的命令。

如:
if exist %windir%\explorer.exe dir %windir%\*.exe
pauseCOPY

TOP

返回列表