Technical Forums (Troubleshooting)

This will provide you easy trouble shooting.

Tuesday, October 4, 2011

IP Messenger (Chat on your local network)

The ‘IP Messenger’ works similar to a LAN chat application there by offering the users to chat
textually within the same network. The hostname of the recipient is good enough to chat with them.

Copy and paste the above program in a notepad file and save it as a batch file, you will be getting 
a pop up windows that exactly looks like below screenshot, when you execute the batch file,In the user field you have to enter the system name of the recipient, and in the message field type 
in the message that you wanna convey to the recipient. You may use multiple chat with various persons at 
the same time.
Copy , paste this code on notepad and save as with bat extension (like chat.bat).
Script:
  1. @echo off
  2. :loop
  3. Title LAN CHAT
  4. color a
  5. Cls
  6. echo                     ########## LAN CHAT ##########
  7. echo.
  8. echo Type in the hostname of the recipient in the User: Field
  9. echo Enter the Message you wanna convey to the recipient in the Message: Field
  10. echo.
  11. set /p n=User:
  12. set /p m=Message:
  13. net send %n% %m%
  14. Pause
  15. Goto loop
Thanks.

No comments:

Post a Comment