yhcfsr 当前离线
中尉
@echo off powershell -nologo -noprofile -command "foreach( $file in ( dir *.html -r ) ){([regex] '<title>(.*)</title>').Match( (type $file -ReadCount 0)).Groups[1]|foreach-object{ren -Path $file -NewName \"$($_.Value).html\"}}"复制代码
TOP