I'm newbie in perl and I got some problem with one thing.
I have code:
$original_file = "y:\\Users\\XXX\\perlScript\\test1.xml";
$new_file = "y:\\Users\\XXX\\perlScript\\summary_test1.xml";
copy($original_file, $new_file) or die "File cannot be copied";
I need read path from cmd command line (I use batch file). For Example:
>summary.bat c>\path\file_name.xml
After copy I'd like create summary_file_name.xml to same folder
Thanks
c>\path\file_name.xmlor did you mean to type a colon instead?