1.Open notepad and paste the following code:
echo off
:start
cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
pause
goto start
2. Save this as chat.bat
3. Now open this file.
4. You will see something like this.
5. Now type the IP address of the person you want to chat with in front of 'User'. Hit enter
6. Now you are ready. Start chatting!!!