zasxes Posted April 1, 2004 Share Posted April 1, 2004 $MSG="Hello" RunWait(@ComSpec & " /c " & "net send COMPNAME" & $MSG) Link to comment Share on other sites More sharing options...
scriptkitty Posted April 1, 2004 Share Posted April 1, 2004 yes, I do it all the time. $MSG="Hello" RunWait(@ComSpec & " /c " & "net send COMPNAME " & $MSG) Just make sure to put a space after the compname, I doubt the computer is called COMPNAMEHello or $MSG="Hello" $comp="COMPNAME" RunWait(@ComSpec & " /c " & "net send " & comp & " " & $MSG) AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 1, 2004 Developers Share Posted April 1, 2004 yes but with a space between USERNAME and MSGTEXT: $MSG="Hello" RunWait(@ComSpec & " /c " & "net send COMPNAME " & $MSG) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Josbe Posted April 2, 2004 Share Posted April 2, 2004 yeah...$msg= "Hello" $comp= "COMPNAME" RunWait(@ComSpec & ' /c ' & 'net send ' & $comp & ' ' & $msg, '', @SW_HIDE)and plus...,'', @SW_HIDE) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
redndahead Posted April 2, 2004 Share Posted April 2, 2004 /c ' & 'netyou can also remove the ' & 'red Link to comment Share on other sites More sharing options...
ezzetabi Posted April 2, 2004 Share Posted April 2, 2004 but you should not spam.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now