I am trying to find a way to automatically:

a)Remove the swap file
b)Restart in safe mode
c)Scan and defrag the hard drive(s)
d)Create a swap file
e)Restart in normal mode

Is there a program that can do this?

Charlie