in reply to unix mv command

Hi
You have to construct both paths before using system with mv command, the best way as "Clint" suggested using File::Copy::move command.
untested code my $src_filename = "/home/abc/abc.txt"; my $dst_filename = "/xyz/bcd/abc.txt"; $ret = system("mv $src_filename $dst_filename"); print "Move Status : $ret";
Thanks & Regards
Sridhar

"Coming together is a beginning. Keeping together is progress. Working together is success.”- Henry Ford