in reply to UNIX shell commands in Windows

Perl comes with a module with function for copying files:

use File::Copy; copy($file_var, $another_file) or die("Could not copy file: $!\n");

Replies are listed 'Best First'.
Re^2: UNIX shell commands in Windows
by jdporter (Paladin) on Jul 02, 2005 at 18:09 UTC
    or
    perl -MFile::Copy -MFatal=copy -e "copy('srcfile','dstfile')"