WHY 当前离线
上校
dir *.txt | ren -newName { $d = $_.LastWriteTime.ToString('yyyy年MM月dd日HH点mm分'); $_.Name -replace '(\d{4}年\d+月\d+日\d+点\d+分)?(\.txt)$', ($d + '$2') }复制代码
TOP