Through trial and error here is the solution that I came up with and it works:

***
; delete temp files
$tempz = "%USERPROFILE%\locals~1\Temp"
shell "%comspec% /c DEL C:\temp\*.* /Q"
shell "%comspec% /c DEL C:\winnt\temp\*.* /Q"
shell "%comspec% /c DEL C:\winnt\*.tmp /Q"
shell '%comspec% /c DEL "$tempz" /Q'
***

With that said and done... does anyone know a way to specify a time range? So, if I only want to delete files/directories that are 2 days old or older?

Thanks!
_________________________
God bless Opera. God bless netjak.