Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was doing some tutorials on batch scripting when I came across a command prompt messenger tutorial that explained how to message someone directly from their computer.

I followed the tutorial and then discovered that for some reason, Vista does not allow that function. Is there an alternative to make this possible? I know there is a Windows Messenger type thing already, but I wanted to try it on the command line.

share|improve this question
Which "command prompt messenger"? It is not clear what you are talking about. Please add the link to this tutorial. – Robert Oct 25 '11 at 17:52
@Robert: He's probably talking about the old Windows Messenger service. – surfasb Oct 25 '11 at 21:15
@mendez: This isn't very clear. You'll need to be more specific. Is this message need to be sent to another computer? Another person on the internet?? Another person on AOL??? Another person my snail mail???? Another person sitting behind your shoulder????? A person in front of the computer??????? – surfasb Oct 25 '11 at 21:17
up vote 0 down vote accepted

You can just call a simple script file if you want to fire off a dialog box.

Save this as a VBS file:

Set objArgs = WScript.Arguments
messageText = objArgs(0)
MsgBox messageText

Or you can use Javascript


Then just run the file from the command line: `wscript myfile.(vb or js) "Hello World!"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.