Changing the line makes no difference to what currently occurs. Peter
-----Original Message----- From: Adam Nielsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 June 2006 11:33 AM To: Peter Oram Cc: samba@lists.samba.org Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp machines > MESSAGE="$WINNAME, your job $_3GJOB\nhas successfully completed" echo > "$MESSAGE" | /path/to/smbclient -M trout > /dev/null 2>&1 echo > "$MESSAGE\n/path/to/smbclient -M trout >> logfile.txt > > Why isn't the message being sent from within the script? Is it a redirect issue? What happens if you change the line to: (echo "$MESSAGE" | /path/to/smbclient -M trout) > /dev/null 2>&1 Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba