The Unix command is: `cp -ip $file1 $file2`. I needed to know if the cp operation is successful. I tried $result = `cp -ip $file1 $file2`; $result does not contain any value after the execution even when $file1 does not exist.
How can I find out if the 'cp' operation is successful or not ? Thanks in advance. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]