Skip to main content

Remove folder faster in Windows

Use below commands to delete a folder quickly in Windows.
Open Command promt and type below commands
del /f/s/q D:\logfiles > nul
rmdir /s/q D:\logfiles

First statement delete files from logfiles folder and outputs to nul to avoid writing to screen for every singe file.
Second statement cleans up the directory structure.

You can create a batch file and run batch file instead of using command prompt.

Leave a Reply

Your email address will not be published. Required fields are marked *