Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Here is my copy command:my $destinationFile = "\\\\myinfoserver\\abc\\the directory\\";
Please advise how I get this to copy using the system command. If I didnt have a space in the directory name it would work.system("copy $sourceFile $destinationFile > nul") == 0 || die "Databa +se did not copy: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Desination file with space in directory name
by Hue-Bond (Priest) on Jul 28, 2006 at 18:20 UTC | |
| |
|
Re: Desination file with space in directory name
by swampyankee (Parson) on Jul 28, 2006 at 19:28 UTC | |
|
Re: Desination file with space in directory name
by BrowserUk (Patriarch) on Jul 28, 2006 at 18:36 UTC | |
|
Re: Desination file with space in directory name
by bobf (Monsignor) on Jul 30, 2006 at 04:42 UTC |