HOW TO: Net Send via Shell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI TWIMC

Is there a way to Shell to a command promt and use Net Send e.g.

varReturn = Shell("cmd.exe net send " & strComputerName & " " & strMessage

TIA
KM
 
Looks OK to me. Have you tried it?

No obvious reason to call cmd.exe instead of directly
calling Net.exe:

v = Shell("c:\windows\system32\net.exe send " & strComputerName & " " &
strMessage )

(david)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top