how works a chat batch
Moderator: DosItHelp
how works a chat batch
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
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
-
- Posts: 8
- Joined: 02 Sep 2009 19:24
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 ::