Click to See Complete Forum and Search --> : net send to ip address
John Jasper
March 13th, 2002, 03:27 PM
On my windows 2000 machine, this works fine:
"net send 10.10.3.4 this is a test"
But on windows NT it gives me an error saying it couldn't find the message alias, can anyone show me how to get the net send command to work with an ipaddress in NT?
PS
the lmhosts file and hosts file have correct addresses in it but it still does not work
Thanks, John
RingoSaturn
March 13th, 2002, 03:31 PM
I think you need the workstation name, instead of the ip address. ie-
net send hank75 Hello there mister Hank 75!
I tested it on my NT machine (well, slightly different text) and it worked.
------------------
...this one goes to 11...
John Jasper
March 13th, 2002, 03:38 PM
That is my problem, I need to do it via the ip address, not the workstation name because of the fact I am doing it through a program.
The thing is, on a Windows 2K machine, it works fine, there is something different between the windows 2000 and windows NT when it comes to the net send command, just wanted to know if anybody knew what that difference is.
mikem
March 19th, 2002, 11:45 AM
You could do nbtstat -A to the ip address and get the name of the person logged on. Then you could direct the message to them.
Kiddtek
March 20th, 2002, 04:15 PM
The command is the same for Win2k or NT. If you send by IP then the HOST and LMHOSTS files are irrelevant. Does this work when you Net Send by computer name? Any event IDs being logged? This error may occur if you send several messages to the same machine is quick succession (this is because the messenger service delays the listener for 5 seconds before it listens again).