Step1-You would require the IP Address of the person you wish to chat.
Step2-Open Your Notepad and type the following code.
set /p n=User:
set /p m=Message:
net send %n% %m%
Step3-Now save this code as "Messenger.Bat".
Step4 -Drag this file(Messenger.Bat file) over the command prompt and press Enter.
Step5-You would then see something like this: