1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/windows/del.md
2018-02-20 18:58:07 +00:00

31 lines
589 B
Markdown

# del
> Delete one or more files.
- Delete one or more space-separated files or patterns:
`del {{file_pattern}}`
- Prompt for confirmation before deleting each file:
`del {{file_pattern}} /p`
- Force the deletion of read-only files:
`del {{file_pattern}} /f`
- Recursively delete file(s) from all subdirectories:
`del {{file_pattern}} /s`
- Do not prompt when deleting files based on a global wildcard:
`del {{file_pattern}} /q`
- Display the help and list available attributes:
`del /?`
- Delete files based on specified attributes:
`del {{file_pattern}} /a {{attribute}}`