Sacred Posted February 24, 2010 Share Posted February 24, 2010 Hey there all, got another MS-DOS question coming at ya.How do you send a message to another computer in MS-DOS? And how would you do it for Windows 7? It doesn't seem to be accurate.Here's what I picked up so far:--@echo off:AClsecho MESSENGERset /p n=User:set /p m=Message:net send %n% %m%PauseGoto A--I heard you need to know their ip address, even if you know it, where would it go to make sure you sent it to someone? Can anyone help make sense of this?This is supposed to send a message using an ip, just don't know where it goes lol. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 24, 2010 Share Posted February 24, 2010 Your user parameter is the IP address value. Note that the machines need to be running the messenger service in order to receive, and maybe also send, those messages. Link to comment Share on other sites More sharing options...
Synook Posted February 24, 2010 Share Posted February 24, 2010 Windows Vista and onward don't have the messenger service any more, you need to find another one (or write your own!). Link to comment Share on other sites More sharing options...
student101 Posted February 24, 2010 Share Posted February 24, 2010 Hey there all, got another MS-DOS question coming at ya.How do you send a message to another computer in MS-DOS? And how would you do it for Windows 7? It doesn't seem to be accurate.I heard you need to know their ip address, even if you know it, where would it go to make sure you sent it to someone? Can anyone help make sense of this?This is supposed to send a message using an ip, just don't know where it goes lol.MSG.EXE replaces Net Send in Windows VistaXP:Net send pcname "Please contact help desk immediately!" VistaC:'msg /server:servername pcname "Please contact help desk immediately!"You could use a third-party net send replacement...http://www.winsentmessenger.com/ Link to comment Share on other sites More sharing options...
Sacred Posted February 25, 2010 Author Share Posted February 25, 2010 What do you mean by server name in the Vista code?And the messenger service still needs to be up for Vista and 7 right? Unless it is totally gone. Link to comment Share on other sites More sharing options...
student101 Posted February 25, 2010 Share Posted February 25, 2010 Dude have you pressed F1 in Vista, then typed "netsend" or "net send" or even "msg" ?Better yet!http://www.fomine.com/net-send-gui.html Net Send in Windows Vista C:\Windows\system32>msg /?Send a message to a user. MSG {username | sessionname | sessionid | @filename | *} [/sERVER:servername] [/TIME:seconds] [/V] [/W] [message] username Identifies the specified username. sessionname The name of the session. sessionid The ID of the session. @filename Identifies a file containing a list of usernames, sessionnames, and sessionids to send the message to. * Send message to all sessions on specified server. /SERVER:servername server to contact (default is current). /TIME:seconds Time delay to wait for receiver to acknowledge msg. /V Display information about actions being performed. /W Wait for response from user, useful with /V. message Message to send. If none specified, prompts for it or reads from stdin. C:\msg /server:servername console "You're machine needs to be rebooted." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.