Page 1 of 1

Batch Files

Posted: Thu Apr 30, 2009 8:36 am
by westrupp
Batch file to fill hard disk with junk....

Nice if you need delete anything and have sure another "people" try recover you files....you delete, fill, delete and fill again many times and I think this turn more hard task of recover....

sorry my **** english....

Code: Select all

@echo off
 
set x=0
set y=0
cd\
md fooler%y%
 
:INICIO
set /a x=%x%+1
echo %x%
copy c:\biblia.exe c:\fooler%y%\biblia%x%.exe /b /y > NUL
if "%x%" == "2500" goto novapasta
goto inicio
 
:NOVAPASTA
set /a y=%y%+1
set x=1
cd\
echo - 
echo - CRIANDO PASTA DE NUMERO %y%
echo - 
md fooler%y%
goto inicio
cya,

Re: Batch Files

Posted: Thu Apr 30, 2009 3:07 pm
by CWO
Many programs offer a way to format by writing junk automatically. I believe the Western Digital one has a "Write Zeros" option for formatting.