|I tried to find a way of sending and receiving messages in an IM type manner with batch, from one computer to another across the internet, for the purpose of just having conversations in a completely simple way. And, it reminds me of the matrix. The matrix is cool. lol. It came to a point where I kept on getting this same result:|
"1) All you need is your friend's IP Address and your Command Prompt.
2) Open Notepad and write this code as it is, !
set /p n=User:
set /p m=Message:
net send %n% %m%
3) Now save this as "Messenger.Bat".
4) Open Command Prompt.
5) Drag this file (.bat file) over to Command Prompt and press Enter.
6) Now, type the IP Address of the computer you want to contact and press enter
You will see something like this:
7) Now all you need to do is type your message and press Enter.
Start Chatting, !"
This thing definitly doesn't work. (I saw that almost everything was wrong with this file.) I made my own batch file, a modified version of the above, to make things feel right, and even though I've never gotten the opportunity to try it, I'm sure it works. Anyway, the main problem is that both these batch files will only work on a LAN network, and I'm really looking for a batch file that will work across the internet. Here is my idea for it:
Type message through command prompt---->Message is saved as a file---->Command prompt sends file as an email---->A program on the target computer auatomatilcally finds and downloads the email, the subjet of the email being the trigger for download---->File is read on command prompt on target computer---->Target computer sends responce through the same process.
Here's what I can do: I can type and save the message, send it with a certain subject so the program will know that this is the email containing the message, even though I haven't gotten BLAT to work yet, and I can read the responce file if it is on the hardrive. But I don't know if it is possible to download an email from an email account with batch. The best thing I know I can to do is open up the login screen for hotmail, and you would still have to manually type in your password. If it is not possible to download the file with batch, then are their any free programs that can do this for me? I don't want any trial versions or large programs, darnit. And if it IS possible to download with batch, show me how. What do you think of this method? Do you have any better ideas, or any input that could help? (Please don't ask me "why not go back to using windows live messenger?") All your help is appreciated.