bat遍歷當前目錄下的文件,批量重命名 @echo off setlocal enabledelayedexpansion for %%x in (*) do ( if not "%%x"=="demo.bat" ( ...