how works a chat batch
Posted: 04 Aug 2009 17:01
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????????
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 ::