Windows: batch delete all files and folders from specific directory
1- Open Notepad and paste the following
REM Remove files inside cache folder set folder="c:\path-to-folder" cd /d %folder% for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
2- Save file using .bat extension 3- Double click saved file
No comments:
Post a Comment