First open Notepad and write this
set /p n=User:
set /p m=Message:
net send %n% %m%
and then save as "Messenger.bat" and close the Notepad
after "User" write the ip of the computer you want to contact and then press enter.