Friday, 8 July 2011

0

Chat through MS-DOS(Command Prompt) using IP address

  • Friday, 8 July 2011
  • saurav garg
  • Share


  •  








    Step 1:
     
    Get  the ip address of your friend's system.
    if you are using college or school system,then ip address will be in particular range.



    Step 2:

    copy the following Batch code in notepad:
    @echo off
    :A
    Cls
    echo TypeIPAddress
    set /p n=IPAddress:
    set /p m=Message:
    net send %n% %m%
    Pause
    Goto A
     
    Save the file with .bat extension(For Eg: message.bat)

    Step 3:


    Open command prompt and navigate to that batch file location.
    Type the file name in this case message and hit enter.

    If you don't know how to move to that path,simply drog and drop in cmd.Then hit enter.


    Step 4:

     

    Now it will ask you for the IPAddress.
    Enter the IP address which you want to send message.
    Hit enter
    Now it will ask you for the message.
    Enter and hit enter

    Note:
    The user with whom you connecting system's cmd should be opened in order to receive.

    0 Responses to “ Chat through MS-DOS(Command Prompt) using IP address ”

    Post a Comment