I need to write a script to auto delete
*.tmp *.chk and ~*.* files from users Temp directories. Add to this the fact that some of the older machines on site have their %systemroot% on the "D" drive and then some have the Temp dir as C:\Temp and some have C:\winnt\temp. I need to check all this as well before I delete.

Any help would be appreciated.

Jassen