sdelete Command Examples

Securely delete file/directory from disk, or clean the free space on a volume/physical disk. More information: https://learn.microsoft.com/en-us/sysinternals/downloads/sdelete.

sdelete -p 3 {{path\to\file1 path\to\file2 ...}}

sdelete -s {{path\to\directory1 path\to\directory2 ...}}

sdelete -p 3 D:

sdelete -z 2