#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 functions of perl; please help.