Gothic~

The XP command is "delay" n Seconds

I still don't understand pinging a static IP address 60 times, particularly in an infinite loop like he had at first..........that could be taken as a DoS attack?

I also don't understand "*.exe"..............that would select all . exe files in the path? And if you don't want .exes, why install them in the first place.

Why do it more than once? they won't come back of their own accord. If they are being used you will get an error unless they are programs that load into memory, in which case the system will produce error messages on the next reboot?

I could just about understand clearing system generated temporary files to save space, but you would have to wait for the programs using them to finish with them or you would most likely get an error, as they will be object locked?

If you want to do it from a security viewpoint you would need some sort of overwriting algorithm anyway?

Tomyahoo, can we see your PROGRAM SPECIFICATION. What is it you are trying to do / achieve?

I am afraid you will not get much help until we understand the objectives of the program.