I will have to admit, this is based on some code that I "stole" from the LangaList and his batch file for cleaning systems is much more significant than what I posted, but if you distill it down, what I posted is what you get with KiX.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's