Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
NET SEND to MULTIPLE USERS
Name: jeff bogner Date: January 18, 2002 at 06:44:19 Pacific
Comment:
I am trying to find a way to do a NET SEND from WIN NT to multiple users but not from a domain controller. I know you can do one at a time by doing net send |message. I am not playing with a .bat file but not sure how to do the switch so a message only has to be typed once but each name is sent with the same message. some type of swithc. any help would be great. thanks,
Name: Greg Allin Date: January 18, 2002 at 08:00:01 Pacific
Reply:
Well, I'm not great with Perl, but this should do the trick.
#!/perl/bin open(names, "newnames.txt"); while (){ $name = split; chomp($name); #Gets rid of return char system("net send $name Hello"); }
This would net send everyone you specify in newnames.txt
0
Response Number 2
Name: Greg Allin Date: January 18, 2002 at 08:14:03 Pacific
Reply:
It seems that it won't let me post the correct syntax for the while loop. Inside the parenthenses there needs to be left angle names right angle.
0
Response Number 3
Name: Pablo Date: January 22, 2002 at 02:35:42 Pacific
Reply:
Just in case you did not know, you are unable to NET SEND to win9x machines only NT
0
Response Number 4
Name: Paul Date: March 21, 2002 at 10:09:44 Pacific
Reply:
is there a way to do this? with a little dos utility?
It's very handy, i use it when i'm at work, it faster then email, it's great when you "net send" your collegue that the boss is coming when he's smoking a sigarette lol
Summary: It's not possible to use net send for multiple users or groups But I have one good utility which works on NT. By using that u can send message to users,groups,machines and u can create new groups also...
Summary: I want to send msgs to multiple users simultaneously using NET SEND. Is that possible? Also, the NET FILE command will not work. Any ideas? ...
Summary: I'm not sure if I can use Net Send to do this, but if I can can anyone tell me how. And if I can't is there any way I can send a hyperlink to all the users on my network? ...