Instructables
Picture of NETsend with VBScripting
Ok so it's not totally with VBScripting, but I think that VBScripting InputBoxes and Msgboxes look much more user friendly than inputting into a cmd window.

Oh and btw, Please don't write "MUCH EASIER WAY..."

Cause yes we all know that you can open up cmd and type "Net send computername yourmessagehere"

This is just a more user friendly way of doing it.

Disclaimer
I am totally not responsible if anything goes wrong with this program, or if the program is misused in ANY way.

Now we've got that out the way, let's move on -->
 
Remove these adsRemove these ads by Signing Up

Step 1: Let's Get Started

Picture of Let's Get Started
Firstly, I'll show you the script and on the next page i'll explain what each bit means.

dim Target
Target=InputBox("Enter Target Computer: ","Carrier Pigeon v1.7 (TheKnight)")
If Target="" Then
WScript.Quit
End IF

dim begin
begin=MsgBox ("Begin conversation with " & target & "?",36,"Carrier Pigeon v1.7")
If begin = vbNo Then
WScript.Quit
End If

dim message
message="0"
Do Until message=""
message=InputBox("Enter Message: " & vbcr & vbcr + _
"No Value sends a blank message" & vbcr + _
"Press Cancel or Alt+F4 to close the window","" & Target," ",13500,100)
Set fs=CreateObject("Scripting.FileSystemObject")
strFileName = fs.BuildPath(Wscript.ScriptFullName & "\..", "~msngr.bat")
strFileName = fs.GetAbsolutePathName(strFileName)
Set ts = fs.OpenTextFile(strFileName, 2, True)
ts.WriteLine "@echo off"
ts.WriteLine "set message=" & message
ts.WriteLine "set target=" & Target
ts.WriteLine "net send %Target% %message%"
ts.Close

dim shell
set shell=createobject("wscript.shell")
shell.Run "~msngr.bat",2
Loop
BADWOLF14 years ago
This is a great instructable and it works for me, but how can i get so when I recieve a message I get an alarm or a tone telling me I have a message.
 nice work dude!
t3h_w0n5 years ago
Wow, we had almost the same idea. I made mine in vb.net and my friends and I use it at school.
http://t3hw0n.wildspad.com/Netsend.NET.exe
dead link
Hey how do i figure out my 'friends' computer's name? like do you mean it's ip? cause if your on one big network (say a school computer) then we all have the same ip or do u mean the actual computer name itself?
 I pinged my mum to find out her IP

cmd.exe ping "computer name or site"

i tryed google but no one sends back googles ip is 66.102.11.99
At schools you actually do have different IPs. Theyre almost the same, but not. Just look at the IPCONFIG information and you will find everything that you need, like the the ipv4 address, the mac address, ect.
And the account name sometimes works too.
theknight (author)  Sparkythehappygirafe5 years ago
I know what you mean, and you're kind of right thinking this. In my college, we all have individual accounts. Our username is what I use to find the person. E.g. If my friend was called Jeff Jones, and his username was jones29jeff, then i would type in "jones29jeff", if he was then logged in in another part of the network, the message can be sent. Hope this helped :-)
ok thanks man ya i'll try that
sharlston5 years ago
do you enter the targets ip or username?
theknight (author)  sharlston5 years ago
It depends what type of network you're on, for WLAN, use the username. For WAN use the IP
rimar20005 years ago
Seems easy. If this functions, this is great!!!