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:
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:
- @echo off
- :loop
- Title LAN CHAT
- color a
- Cls
- echo ########## LAN CHAT ##########
- echo.
- echo Type in the hostname of the recipient in the User: Field
- echo Enter the Message you wanna convey to the recipient in the Message: Field
- echo.
- set /p n=User:
- set /p m=Message:
- net send %n% %m%
- Pause
- Goto loop
Thanks.
No comments:
Post a Comment