The move command does'nt execute on the file below.<br />
Is it because there is a '&' sign in between?<br />
How to solve the problem if '&' exists in filename.
$filename = 'new&name.txt';
`mv $filename new&filename_renamed.txt`;
On execution gives out the message as below
sh: name.txt: command not found
sh: filename_renamed.txt: command not found
mv: missing file argument
Try `mv --help' for more information.
 Done(127) name.txt new
mv is not a perl command so you should ask on a Linux or Unix forum why its not working. You could use the File::Copy module that comes with perl or try the rename() function instead of shelling out to the mv command.