The swap file contains page files that have been swapped to disk. This
is pretty much everything that you do. There might be passwords,
portions of confidential documents, adult material, whatever.
Do you remember WasUp!'s batch file with .pif to clear the index.dat
files that cannot be deleted? I'm pretty sure you can get the right
copy, 98 or Me, and add your above commands to it and it will do what
you want.
I just rebooted to DOS and deleted my swap file, so I'm certain his
little package will do what you want. It has a .pif file that boots
out of Windows and into DOS, performs the commands and reboots right
back to Windows.
I can't locate his site, but I found the files at another site:
http://www.starcruiser.smorumnet.dk/Wasup.html
Yeah, apply your commands to the batch file and delete or fix any
lines that don't apply to the paths on your machine. You click the
.bat in Explorer. It will prompt you that it is a DOS program, select
yes to continue. You can clean anything persistent in Windoze with
this file.
I've used BcWipe for years. This is the program that incited me to
start archiving freeware versions. They "pledged" in the docs to keep
this program freeware and then broke the pledge
This is the first file I added to my site if you care for the last
freeware version:
http://www.woundedmoon.org/win32/bcwipe228.html
Eraser might be worth checking into if you prefer a newer program.
BcWipe wipes the heck out of the swap file, file slacks at the end of
clusters, directory entries and free space. Mix and match, or just use
it on your swap file. It takes a couple of minutes to totally
devastate your swap beyond recovery if that is all that you elect to
wipe.
Wipe it and then run the WasUp!.bat. You can throw the command to shut
down Windows at the end and walk away as the files are deleted and
your machine shuts down.