Tuesday, November 06, 2012

Chat in MS-DOS

Chat in MS-DOS using IP address

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaHUjV9kn5VZ-sH6QZj9hfLO98XVcoTdk2IUYjZPnvMr3YD_rtQWPYqTsllcjopaUBquLJV58M9B9PgNmNHAYvPlo7mBL2NPa-gwmz66uoDgwLsCaaEJzrl0u5KrYn5Vu-7WihoyUMFJc/s200/cmd.jpeg
It is easy and simple trick.  We can chat using MS-DOS(we have did this as college experiment in network lab with java code).  But i am not going to give you the java code.  Our usual Batch Programming.

You can try this in your school or college systems(it should be networked systems).

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.
open the file in notepad.

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.


Step 5:
What is next? Comment Here! If the above method not working for you. Then comment what you did and What it showing. Or is it working perfectly ?then share your experience with us



No comments:

Post a Comment