I need to write a batch file that deletes everything that resides in C:\Windows\Temp without prompting for an answer. I have tried adding
deltree /y C:\Windows\Temp then
mkdir C:\Windows\Temp to a batch file then running it. This seems to work but i have to re-boot my system because when i hit certain keys explorer windows pop up and various other strange things also. Any ideas?