Page 1 of 1

how works a chat batch

Posted: 04 Aug 2009 17:01
by rfpd
Hell every one i now the code but i need to now something i have a shared folder and how my friends can acess it and chat with me????????

f

Posted: 04 Aug 2009 17:10
by rfpd
i have a basic code can you give me one the code i have for a batch chat is bad can you help me i have an example of a batch but i don't understand it

Posted: 03 Sep 2009 20:50
by Hunterwould
This is My version of a messenger batch file, have fun with it.

Code: Select all

@echo off
title messenger - By: Hunter Wood
color f0
prompt $G
net start messenger
cls
color 0a
:begin
echo +======================================================+
echo +      Hunter Wood's Instant Messaging Batch File      +
echo +======================================================+
:: Separation ::
:messenger
cls
echo +======================================================+
echo +      Hunter Wood's Instant Messaging Batch File      +
echo +======================================================+
net view
echo Who do you wish to instant message?
set /p b=\\
set /p a= %b%? (Y/n)
if '%a%' == 'n'  goto messenger
if '%a%' == '/?' goto help
if '%a%' == 'help' goto help
:: Separation ::
:a
color 0b
cls
echo +======================================================+
echo +      Hunter Wood's Instant Messaging Batch File      +
echo +======================================================+
echo Message \\%b%//
set /p c=
net send %b% %c%
goto a
:: Separation ::
:help
cls
echo +======================================================+
echo +      Hunter Wood's Instant Messaging Batch File      +
echo +======================================================+
echo.
echo Commands available are:
echo n
echo Y
ping localhost -n 3 >nul
goto messenger
:: Finish ::
:) :) :) :D