in reply to Re: How to use options in Perl shell?
in thread How to use options in Perl shell?
this should be analagous to executing this (on unix):xcopy /S d:\somedir r:\somedir
Here is a link to my reference point, however the following code does NOT work (and my relative path is correct -- current dir for $src).cp -s /somedir /somedir
#!D:\Perl\bin\perl.exe -w use Shell; $src = "giveto\\kerri"; $dest = "D:\\1234567"; $ops = "\/S"; xcopy($ops,$src,$dest);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How to use options in Perl shell?
by BrowserUk (Patriarch) on Mar 04, 2003 at 23:26 UTC |