SNIP>
Hi John, Hope this comes out OK as I've just started using XNews and
hope I've got it set up right.
What I did John was firstly to set the swap file up for a fixed size
-
the value of that is that I know where stuff is being put. Secondly
I
installed Eraser. Thirdly, I set up the AUTOEXEC batch file as below
(for which I have to thank Wasup for much of the basic idea) - you'll
see that normally it just boots straight up or alternatively I can
clear
up everything bar the swap file or alternatively I can even clean up
the
swap file. The only difficulty I should mention is that if you set
the
swap file size large (which is good to reduce paging in and out) it
takes quite a while to "erase". Hope this idea helps.
Regards
Kevin
cls
choice /T:n,10 /C:fpn Choose F - full cleanup, P - partial cleanup,
N
- no cleanup:
if errorlevel 3 goto noclean
if errorlevel 2 goto partclean
if errorlevel 1 goto fullclean
:fullclean
if exist %winbootdir%\smartdrv.exe %winbootdir%\smartdrv.exe 2048 16
cd c:\progra~1\eraser
eraserd -file c:\windows\cookies\index.dat -passes 7
eraserd -folder c:\windows\cookies -subfolders -passes 7
eraserd -file c:\windows\history\index.dat -passes 7
eraserd -folder c:\windows\history -subfolders -passes 7
eraserd -folder c:\windows\recent -subfolders -passes 7
eraserd -folder c:\windows\temp -subfolders -keepfolder -passes 7
eraserd -folder c:\windows\tempor~1 -subfolders -passes 7
deltree /Y c:\windows\tempor~1\
deltree /Y c:\windows\cookies\
deltree /Y c:\windows\history\
eraserd -file c:\WIN386.swp -passes 3
scanreg /fix
scanreg /opt
goto end
artclean
if exist %winbootdir%\smartdrv.exe %winbootdir%\smartdrv.exe 2048 16
cd c:\progra~1\eraser
eraserd -file c:\windows\cookies\index.dat -passes 7
eraserd -folder c:\windows\cookies -subfolders -passes 7
eraserd -file c:\windows\history\index.dat -passes 7
eraserd -folder c:\windows\history -subfolders -passes 7
eraserd -folder c:\windows\recent -subfolders -passes 7
eraserd -folder c:\windows\temp -subfolders -keepfolder -passes 7
eraserd -folder c:\windows\tempor~1 -subfolders -passes 7
deltree /Y c:\windows\tempor~1\
deltree /Y c:\windows\cookies\
deltree /Y c:\windows\history\
goto end
:noclean
cls
goto end
:end
echo off
cls
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
SET PROMPT=$p$g
SET TEMP=C:\windows\TEMP
SET TMP=c:\windows\TEMP
win