If you need to rename a file with no extension you just need to say:
rename $myfile, $myfile.'.rtf';
If you just need to append .rtf to a string containing a filename then write:
$myfile = $myfile.'.rtf';
Michele.
In reply to Re: How do you add .RTF to a file
by arthas
in thread How do you add .RTF to a file
by skyler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |