On Wed, Mar 2, 2016 at 5:40 AM, Arghya Das wrote:
> #copies 1 file to another
>
> use warnings;
>
> use File::Copy;
>
> copy("FILE1.txt","new_file.txt");
>
>
>
> This script works if FILE1.txt is in current directory of windows but when
> i try to give a full path to a file like : "C:\Folder1\FIL
#copies 1 file to another
use warnings;
use File::Copy;
copy("FILE1.txt","new_file.txt");
This script works if FILE1.txt is in current directory of windows but when
i try to give a full path to a file like : "C:\Folder1\FILE1.txt" it doesnt
work.
This is the same with rename and unlink funct