I think you don't need to map/unmap the remote paths and can just use File::Find with the UNC directly:
find(\&wanted, "\\\\$computer\\c\$");
The error you're getting is likely due to your usage of a bare z: instead of explicitly specifying the root directory z:\.
In reply to Re: Problem with mapping windows shares and File::Find
by Corion
in thread Problem with mapping windows shares and File::Find
by romandas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |