Windows

del

DestructiveDelete files

del <file>

Deletes files. /S recurses, /Q is quiet. Use rd for folders.

Examples

  • del /Q *.tmpDelete .tmp quietly

Syntax

del [/S] [/Q] <file|pattern>

Before you run it

Deletion is irreversible; be careful with patterns.

Related commands

Check it once more before you run it

Some commands cannot be undone if one flag is wrong. An on-device reference works with no connection. Free to install, no ads.

Get it free on the App Store