how works a chat batch

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

how works a chat batch

#1 Post by rfpd » 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????????

rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

f

#2 Post by rfpd » 04 Aug 2009 17:10

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

Hunterwould
Posts: 8
Joined: 02 Sep 2009 19:24

#3 Post by Hunterwould » 03 Sep 2009 20:50

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

Post Reply