CMD批量修改文件后缀名(含目录)
2019-08-05 本文已影响0人
_ArayA_
批量修改.txt to .ts
@echo off
for /f "delims=" %%a in ('dir /a-d /s /b') do (
if "%%~xa" == ".txt" ren "%%~fsa" "%%~na.ts")
批量修改.txt to .ts
@echo off
for /f "delims=" %%a in ('dir /a-d /s /b') do (
if "%%~xa" == ".txt" ren "%%~fsa" "%%~na.ts")