in reply to Cannot Copy from a network drive
Looks to me like you are using $dir before you create it. Also what happens if you hit a directory like:print "$dir\n"; my $dir = join "\\", @path[0,1,2,3,4,5,6];
with your script? do you mean to truncate at that point?h:\one\two\three\for\five\six\seven\eight
|
|---|