my $oldfile = 'c:\tmp\test.doc'; my $newfile = 'c:\tmp\test1.doc'; #### my $oldfile = 'c/tmp/test.doc'; my $newfile = 'c:/tmp/test1.doc';