- @echo off
- title 代码可用,扫码头像,随意赞助;有什么问题,可加QQ956535081及时沟通
- cd /d "%~dp0"
- powershell "dir *.txt -r|%%{write-host $_.FullName;$t=[IO.File]::ReadAllText($_.FullName, [Text.Encoding]::Default);$t=$t -replace '\)\s*[\r\n]\s*\(','';[IO.File]::WriteAllText($_.FullName, $t, [Text.Encoding]::Default);}"
- pause
复制代码
|