Try this :
move($sourceDir."\\".$file, $destinationDir."\\".$file) or die "move: $!\n";It's most likely that you don't have the double backslashes ("\\\\") at the beginning of the paths. Forward slashes are easier to deal with and work with File::Copy. Also refer to -X for file tests. Test if the file exists so you know you have the path set up correctly before attempting to move it.
In reply to Re: Move function not working with UNC
by Lotus1
in thread Move function not working with UNC
by smita_k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |