Ok,

Shawn: I tried running the script and it just shows me: "system32 older than 30 days..." Is that the only thing it does? Do I have to add more stuff to it in order to work? I know i have to change the c:\winnt\system32 directory to something else...

Sealeopard: I tried running the script and it gives me this error:

quote:

Script error : unknown command !.
function cleantempfiles($tempdir, $olderas)

I know I'm the dumbest person when it comes to script, I hope you guys can shed a light...