Me and Shabs thought of a good way to make cipher recursive to overwrite data on the whole drive (not removing existing files/folders of course)
It goes through the whole file system ... 5 times :p
It takes a while to finish, so if you don't want the 5 times then you can simply edit it to your liking. I have read somewhere that the more you overwrite it, the harder it will be to recover it, although I do not have any kind of scientific facts to back that up at the moment, so if you don't believe it then you can just remove the loop and do it 1 time.
Anyway, here's the batch code ^^
Code: Select all
@echo OFF
color 84
echo -=::Starting cipherX::=-
echo This can take some time, go do something else ...
echo Scanning directories
cd /
dir /S /B /A:D > dirs
for %%a in (1 2 3 4 5) do (
echo Overwriting %%a times
echo Currently cleaning: C:\
cipher /w:C:\
for /F %%b in (dirs) do (
echo Currently cleaning: %%b
cipher /W:%%b
)
)
del dirs
echo ======================
echo =========Done=========
echo ======================
PAUSE
PS: if anyone knows how to make cipher do this without this method, then please do share. Because I haven't found anything that would help to do that with the tool alone (found some old documentation but that didn't seem to work).