Skip to content

Instantly share code, notes, and snippets.

@kmaehashi
Created July 28, 2012 16:18
Show Gist options
  • Save kmaehashi/3193892 to your computer and use it in GitHub Desktop.
Save kmaehashi/3193892 to your computer and use it in GitHub Desktop.
Windows Batch File to Remove Hidden Files
@echo off
for /F "usebackq delims=" %%f IN (`dir /B /S /A:H .*`) do (
del /A:H "%%f"
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment