in reply to Copy Files from network
This should start up five seperate processes in Win2K# assuming that you copy all the files in the local directory to all c +omputers # if not, you can change the src and computer variables to reference o +nly the # files you need the start copy portion remains the same my @computer = qw( 'comp1\dir\*.*' 'comp2\dir\*.*' 'comp3\dir\*.*' 'comp4\dir\*.*' 'comp5\dir\*.*'); my @rtncd = (); my $src = 'local\directory\*.*'; $rtncd[$_] = (system("start copy /Y /Z $src $computer[$_]")>>8) for +(0..$#computer); ... # handle return codes here
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Copy Files from network
by gpurusho (Acolyte) on Nov 18, 2004 at 06:25 UTC | |
by periapt (Hermit) on Nov 18, 2004 at 21:34 UTC |