in reply to Problem with mapping windows shares and File::Find
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:\.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with mapping windows shares and File::Find
by romandas (Pilgrim) on Mar 11, 2008 at 15:40 UTC |