Add html extension to files without extension with cmd

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 820903
    • Gender:Male
  • point d’amour
Add html extension to files without extension
Go to files folder, enter cmd in path line, press Enter.
Then enter this and press Enter.

Code: [Select]
for /f "tokens=*" %a in ('dir /b') do @ren "%a" "%a.html"
« Last Edit: 14 May, 2021, 13:47:50 by spiros »


 

Search Tools