批处理输出文件名
@echo off setlocal enabledelayedexpansion for %%x in (*) do ( set /a sum+=1 echo "%%x" ) pause
删除指定类型的文件
del /s *.PrjPcb.Zip del /s *.SchDoc.Zip del /s *.PcbDoc.Zip del /s *.LOG rem del /s *.pcbdoc_viewstate del /s *.PrjPcbStructure del /s *.SchLib.Zip del /s dek.bat del /s *.PcbLib.Zip del /s *.~*.PcbDoc del /s *.html
原文:https://www.cnblogs.com/hehe2014/p/10746990.html