Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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

WScript.Echo(WScript.Arguments.Item(0));

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

share|improve this answer

Your Answer

 
discard

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.