DAIC 当前离线
中将
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /b "*-*.*"') do ( set "str=%%i" echo 原字符 !str! set str1=!str: - =-! echo 更改后 !str1! set str2=!str1:-= - ! echo 还原后 !str2! ) pause复制代码
TOP