Please use Eraser to delete sensitive data. It can also clean digital SD memory cards of all recoverable data!
As with Linux, Appel's Mac OS and other systems like Android, Microsoft Windows has programs to safely delete data. There are handy programs, such as free Windows Safe Delete tool.
But if you want to do this important task with cmd.exe, you will find helpful tips and examples here. PS: The command program ERASE is often used by administrators on Windows Server systems, but you can also test it for yourself.
1.) ... The deletion under Windows with the command ERASE examples!
2.) ... Where is the advantage when deleting about Windows command ERASE?
3.) ... What should I pay attention to when using the ERASE command?
At the command prompt, type the following command, press Enter!
ERASE / F / S / Q / A "C:\Windows\System32\calc.exe"
Tip: You can use X any full path to the quoted extension file, even if there are spaces!
To delete all files in a folder without confirmation in the command prompt
ERASE C:\Windows\System32>ERASE /F /S /Q /A "C:\delete\*"
File was deleted - C:\delete\test.zip
File was deleted - C:\delete\test.xls
File was deleted - C:\delete\test.doc
To delete all files with a given file extension in a folder with confirmation in prompt, for example, delete all Microsoft Excel files in a folder.
C:\Windows\System32>ERASE /P /F /S /A "C:\Importantfolder\*.xls"
Do you want to delete "C: \ Importantfolder \ Private.xls" (Y / N)? y
File deleted - C:\Importantfolder\Private.xls
Do you want to delete "C:\Importantfolder\Security.xls" (Y / N)? y
File was deleted - C:\Importantfolder\Security.xls
Do you want to delete "C:\Importantfolder\Important.xls" (Y / N)? y
File deleted - C:\Importantfolder\Important.xls
Wildcards can be used to delete multiple files. If a directory is specified, all files in this directory will be deleted!
Parameter von ERASE man kann mit einem Test-Ordner ein wenig experimentieren!
/P Prompts you for confirmation before deleting each file.
/F Forces deletion of read-only files.
/S Deletes all files in all subdirectories.
/Q No query when using global placeholders.
/A Selects the files to be deleted by the attribute.
R Read-only files
S System files
H Hidden files
A Files to archive
I Unindexed files
L Analysis points
file extensions. And the deletion confirmation is also handy, not accidentally delete important files.
If you remove a document or an app on your Windows PC, you will find that it has been moved directly to the Recycle Bin, and / or not deleted, especially if you do not see a deletion confirmation dialog before, the deletion is not a real delete action.
If you want to prevent others to restoring important secure data from the Recycle Bin , it's a good idea.