Rahul Garg wrote: > > I am transfering xyz.txt file from windows98 to linux server manually. > $r_file = "xyz.txt" ; > then in perl script i am executing `chmod 0777 $r_file` ; > # $r_file is in the same directory as is perl script > but the line is not executing > i have tried system command too.
Use the chmod() function built in to perl. chmod 0777, $r_file or die "Cannot chmod $r_file: $!"; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]