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.

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

Step 1: 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
End IF

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

dim message
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%"

dim shell
set shell=createobject("wscript.shell")
shell.Run "~msngr.bat",2
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!
Wow, we had almost the same idea. I made mine in vb.net and my friends and I use it at school.<br/><a rel="nofollow" href="http://t3hw0n.wildspad.com/Netsend.NET.exe">http://t3hw0n.wildspad.com/Netsend.NET.exe</a><br/>
dead link
&nbsp;<a href="http://zachperrault.com/downloads/Netsend.NET.exe" rel="nofollow">zachperrault.com/downloads/Netsend.NET.exe<br /> </a>
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?
&nbsp;I&nbsp;pinged my mum to find out her IP<br /> <br /> cmd.exe ping &quot;computer name or site&quot;<br /> <br /> i tryed google but no one sends back googles ip is<br />
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.
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
do you enter the targets ip or username?
It depends what type of network you're on, for WLAN, use the username. For WAN use the IP
Seems easy. If this functions, <strong>this is great</strong>!!!<br/>

About This Instructable


6 favorites


More by theknight: Take back the Internet: No more adverts on 4od - with no addons or software! Use batch to print a directory tree of a target computer NETsend with VBScripting
Add instructable to: