SETFILEATTR should do it before the file Deletion.

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