Sdelete Example — [top]
The basic syntax for the command is:
sdelete C:\Users\John\Documents\passwords.txt sdelete example
| Switch | Description | | :--- | :--- | | -s | Deletes files in subdirectories. | | -p <passes> | Passes. Specifies number of overwrite passes (default is 1). | | -z | Wipe Free Space. Cleans free space on the specified drive. | | -a | Remove Read-only. Allows deletion of files with Read-only attribute set. | | -r | Remove Read-only. (Legacy/Alternate flag for removing attributes). | | -nobanner | Suppresses the Sysinternals banner message (useful for scripts). | | -q | Quiet. Suppresses output messages. | The basic syntax for the command is: sdelete
This is the most common use case. It overwrites the file content and then deletes the file. sdelete example