Hi InlandAZ,
Thanks for the reply.
What I mainly want is to clean out or delete the index.dat files in the Cookies, History, and Temporary Internet Files folders - not the other files in those folders. I clean out History and TIF when I exit IE and I manually delete cookies I don't want from the Cookies folder and the part of those cookies Windows stores in TIF.
It's my understanding the index.dat files cannot be purged or deleted from within Windows. (98SE with DOS was so much easier to deal with.)
I've tried CCleaner several times. Under Windows, when I uncheck everything except Index.dat files and click on Analyze, it returns "0 bytes to be removed." After reboot, the size of those folders have not changed, so apparently it's not purging the index.dat files. At the moment TIF is about 9-10MB, whereas, if its index.dat files were purged, it would probably begin fresh with about 32-40kb.
That's why I'm looking for a copy of Langa's CleanXP Template so I can modify it for my particular system and needs and also find out how to access it outside of Windows XP.

Jema
Edit
While I was typing, you edited your reply. Like you, I found snippets of the batch file, but nowhere did I find the beginning and ending commands.