Start chat rooms from the batch file



First please click the "Command line sample" item from the start menu.


This sample will start the chat room "Football" and then minimize the main window of Chat Anywhere to the system tray.

Then please open "Sample.bat" with any notepad. (You can find this batch file under the Chat Anywhere's directory) You will see something like this:
@echo This is a sample:
start chatanyw football
@pause

Syntax: chatanyw RoomName
Purpose: To start a certain chatroom directly.
Example: chatanyw football
(this will start chatroom 'football')

Note: You must create the chat room before you start it, you can not start a chat room which doesn't exist. You can use command line parameters in these two ways:
1) Type the command in the command window(MS-DOS window).
2) Edit and save your command lines to a batch (*.bat) file.

You can open and edit the batch file with notepad. Be sure to save the .bat file to the Chat Anywhere's directory. Then you can double click the batch file to launch it.

* You can edit a "2rooms.bat" file with this contents:
Start chatanyw anywhere
Start chatanyw football
Put this file into the Chat Anywhere's directory. Then double click it to start two chat rooms at one time. (Please set different port number for these two chat rooms before you run the batch file. )

See Also

Control your chat room remotely


Copyright © 2003 LionMax Software. All Rights Reserved.