Badre Alam
2nd June 2003, 15:11
How to send msg to BaaN users logged-in on NT server, as most of the clients are connected to NT domsin using Win9X.
We are having 2 BaaN servers one on NT and another on Unix, as I know sending msg thru BaaN by writing unix shell script, is there anyway to do the same in NT server.
Rgds
Alam Badre
victor_cleto
2nd June 2003, 15:30
Use the command: NET SEND {name | * | /DOMAIN[:name] | /USERS} message
Thru google I found a page that explains all about it (for Win95/98 clients you need to install Winpopup), here (http://www.wown.info/j_helmig/winpopup.htm)
Badre Alam
2nd June 2003, 15:56
but this won't work with the Win9X client, I tried this command as well.
NvanBeest
3rd June 2003, 10:25
Try using the bshcmd command. You will need a list of the process ID's of the running ntbshell's. Then, use the syntax:
bshcmd -w 1 -u 1 -M "message" <pid>
On NT, the only problem is determining the pid of a particular user. I haven't figured out how to do that, yet! For all users, write a batch file that sends the same message to all pid's.
Regards,
Nico
Han Brinkman
3rd June 2003, 13:37
it's not that difficult: use the licmon utility. The number behind the login name is the pid.
For sending a message to all users you better use the file systemmess in ${BSE}/lib. (you need to have ttstppollmess loaded in bms_mask)
Rgrds,
Han
kereni
3rd June 2003, 18:22
Use this batch file on NT to send message to all BAAN connected users.
Usage:
bshcmdnt [your message]
NvanBeest
3rd June 2003, 18:24
Nice!