I want to create an application object that will run the following commands
before any other applications start running:

rd /s /q %temp%
md %temp%
rd /s /q %systemroot%\temp
md %systemroot%\temp

What is the best way to accomplish this?

Darrell