Tried it both ways Les.
No Deal.

del "filename" /s /h

Where filename = "c:\temp\*.*"
also
Where filename = "c:\temp\*.* /s"


Code:
 $tempsht="%temp%"

$tempsht = $tempsht+"\*.*"
del $tempsht /s



No Subs get deleted.
Seems like a pretty simple request, do you delete user temp files at network logon?

If yes, lets see the code. BTW I need to use %temp% I'm not running windows 95 anymore....