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

What would a .bat file look like? in order to relay a message across a lan from Computer A - to Server B -, in which the Server communicates with the computer to prompt once its network is available (without any user requiring to login to Server B). I've been looking around on google for some solutions, but I haven't been able to find anything useful.

share|improve this question
up vote 1 down vote accepted

Not sure exactly what messages you are trying to send, but you should check out the "net" command.

C:\> net help

All those command can be written in a batch file.

Also you may want to play with vbsrcipt, especially WMI object (Windows Management Instrumentation) on remote machines.

If you have more info about what you're trying to do I may be able to be more specific.

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.