This maybe over complicating it a bit but the below could be run if you had a list of pc's that you need the contents deleting on, it may need tweaking a bit but it gives you a general idea..good luck
)
Break on
Open (1,"drive:\pclist.txt")
Open (2,"drive:\\Success.txt",5)
Open (3,"drive:\fail.txt",5)
WriteLine(2,"---Script Started: @date at @time---"+Chr(13)+Chr(10))
Do
$CompName=ReadLine(1)
If $CompName<>""
Use "$CompName\c$"
If @error = 0
Sleep 1
If Exist("$CompName\c$\windows\Temporary Internet Files\")=1
Del "c:\windows\Temporary Internet Files\"
Else
WriteLine(2,"No temp files found $CompName"+Chr(13)+Chr(10))
WriteLine(3,"$CompName"+Chr(13)+Chr(10))
EndIf
Use "$CompName\C$" /delete
Sleep 2
Else
WriteLine(2," # Failed, $CompName was not available"+Chr(13)+Chr(10))
WriteLine(3,"$CompName"+Chr(13)+Chr(10))
EndIf
Else
EndIf
Until $CompName=""
WriteLine(2,"---Script Finished: @date at @time---"+Chr(13)+Chr(10))
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields