in reply to Suppression of Output Message

try:
$counter = `ls /tmp/myfile.txt 2>/dev/null`;


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."