全选,F2修改后, filename (1), filename (2), .....
用此bat修改为filename1, filename2, ...
@Echo Off&SetLocal ENABLEDELAYEDEXPANSION FOR %%a in (*) do ( set "name=%%a" set "name=!name: (=!" set "name=!name:)=!" ren "%%a" "!name!" ) exit
2021-12-09 20:30:45
全选,F2修改后, filename (1), filename (2), .....
用此bat修改为filename1, filename2, ...
@Echo Off&SetLocal ENABLEDELAYEDEXPANSION FOR %%a in (*) do ( set "name=%%a" set "name=!name: (=!" set "name=!name:)=!" ren "%%a" "!name!" ) exit