NanoTech-kw · Tech Guide Library

DEL CMD (Delete Files)

Windows · CMD

Delete one or more files. Syntax: del [file] [/f] [/s] [/q]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: del [file] [/f] [/s] [/q]
  3. Brief: Delete one or more files.
  4. Example: del C:\Temp\*.tmp /f /q
  5. Tip: Also works with the erase alias; /s removes matching files in subfolders.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →