ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DOS Messaging (https://www.excelbanter.com/excel-programming/289522-dos-messaging.html)

D.S.[_3_]

DOS Messaging
 
Can a simple message be sent by Excel to another network computer using what
I believe was once called "DOS Messaging"?

--
D.S.



Kieran[_34_]

DOS Messaging
 
Something like

Shell "Net Send " & Computer_or_user_name & " " & Your_message
should work.

If you have problems please post back

--
Message posted from http://www.ExcelForum.com


D.S.[_3_]

DOS Messaging
 
Haven't got the syntax figured out.

path=d:\windows\system32\net.exe
Computer name = mycomputer
message="this is a test"

How would I write the code?


"Kieran " wrote in message
...
Something like

Shell "Net Send " & Computer_or_user_name & " " & Your_message
should work.

If you have problems please post back.


---
Message posted from http://www.ExcelForum.com/




D.S.[_3_]

DOS Messaging
 
This will send the message <test to all on my home network

shell "net send * test"

I'm not have success sending to an individual computer or user.

For example: command line shell "net send mycomputer test"
does not send a message to my computer (computer name = mycomputer).

nor does command line shell "net send johndoe test"
(user name = johndoe)

d.s.

"D.S." wrote in message
...
Haven't got the syntax figured out.

path=d:\windows\system32\net.exe
Computer name = mycomputer
message="this is a test"

How would I write the code?


"Kieran " wrote in message
...
Something like

Shell "Net Send " & Computer_or_user_name & " " & Your_message
should work.

If you have problems please post back.


---
Message posted from http://www.ExcelForum.com/







All times are GMT +1. The time now is 01:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com