The 'net send' DOS command is very powerful. Combining it with a batch file makes it more user friendly. 'Net Send' sends messages to other computers in a network, and can even be used to send messages to computers outside of networks by sending messages to an IP. Because of this, Microsoft disabled it in 'Service Pack 2', but you can enable it by going to 'Run' under the Start menu, typing in 'services.msc', and pressing 'OK'. Then, scroll down the list of services until you find 'Messenger'. Right click and press 'Start'. Now you're ready to go.
The 'net send' command's format:
net send <user/computer/ip> <message>
Try typing the following into 'Commad Prompt', which can be found under 'Start'->'Programs'->'Accesories'. (Replace '(USER)' with your username.
net send (USER) Hey!
Dit it work? Yes? Good. If not, I don't know what to tell you. Make sure you typed everything in correctly. Try doing that, but with the usernames of other people logged in on other computers in your network.
Now for some fun. Open up 'Notepad', and copy/paste in:
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
Save this as a batch file, or whatever.bat This batch file acts as a chatting program! It first displays the title (MESSENGER), the it asks for the User/Computer/IP to send the message to, then it asks for the message to send. Finally, it sends the message, pauses, and loops back again. Try experimenting with this, and have fun! |