Batch hapus semua folder dan file

for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
Cheerful Chipmunk