in reply to Re^2: Win32: Deleting Temporary directories of all users on a machine (recursive)?
in thread Win32: Deleting Temporary directories of all users on a machine (recursive)?

I am not certain what you are trying to achieve here. Looking at the recursive subroutine I supplied (zapfile), you could place additional name checks after:
next if $name eq '.' or $name eq '..';
For example:
next unless $name =~ /Temp$/;