Rename Extension (All files include sub folders)

I change .txt file to .ext file on c:\test\ include sub folder.

Get-ChildItem - path C:\TEST -recurse -include *.txt | Rename-Item -NewName {$_.name -replace '\.txt','.ext'}

Comments

Popular posts from this blog

การตั้งเวลาระหว่าง Server และ Client

วิธีตั้งค่า NTP บน Primary Domain Controller

เทคนิค Ghost XP ข้าม Spec