Skip to content

Instantly share code, notes, and snippets.

@harshbaid
Created August 5, 2021 15:16
Show Gist options
  • Save harshbaid/5fb7f8dca32552be0dda1e301dd07713 to your computer and use it in GitHub Desktop.
Save harshbaid/5fb7f8dca32552be0dda1e301dd07713 to your computer and use it in GitHub Desktop.
A quick way to delete all files with a certain name pattern in Windows
dir 404.*.txt /a /b /s
del 404.*.txt /a /s
Reference: https://confidentialfiles.wordpress.com/2010/06/02/a-quick-way-to-delete-all-files-with-a-certain-name-pattern-in-windows/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment