Delete multiple files in a directory in Windows 10

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 811668
    • Gender:Male
  • point d’amour
Delete multiple files in a directory in Windows 10

Go to the directory with Windows Explorer
On the path bar enter cmd and press Enter.
Paste:

Code: [Select]
del /s /q /f *.*
To delete all files

Or

Code: [Select]
del /s /q /f *.htm*
To delete all htm/html files.


 

Search Tools