Its been a long time since I have used samba the fie sharing for Linux on Windows.
smbtree --- find windows machines. See also findsmb
nmblookup -A 220.127.116.11 --- find the windows (netbios) name associated with ip address.
smbclient -L windows_box --- list shares on windows machine or samba server.
mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/share ---
The above command mounts a windows share.
echo 'message' | smbclient -M windows_box
Send popup to windows machine (off by default in XP sp2)