top of page

Cipher Command to Wipe a Directory


In Command Prompt you can use the cipher command to wipe a directory and prevent deleted files from being recovered. The cipher command will write random data to a folder that you specify. You simply need to follow these steps.

1. Go to Start and type 'cmd'. Windows command prompt will open.

2. Then enter:

cipher \w:c:\[your folder path]

This command will not remove active, undeleted files, but it will wipe any files which have already been deleted from this folder.


bottom of page