Contattaci: +1-877-99-BOPUP (877-992-6787)

Tools. BCSCmd.EXE command line tool

Bopup Communication Server comes with BCSCmd.exe command line utility which allows to send News messages, deliver instant messages to users and messaging groups, and also create SQL database backups from a command line interface. You can use this tool in external and third-party applications, scripts and batch files.

BCSCmd.exe file is installed within Bopup Communication Server and placed into it's program folder. In order to send messages you should specify command line parameters and arguments including name of user accounts, messaging groups or/and News messages and a text of message to send. To display supported command line arguments just launch the BCSCmd.exe file with /? or /h arguments or simply with no parameters.


Use the following switches to run the program from a command line interface:

bcscmd.exe [OPTIONS]
[/N news message]   - Name of existing News message to send.
[/G user group]     - Name of existing user group to send message to.
[/U user]           - Name of existing user account to send message to.
[/A]                - Send message to all user accounts on the server.
[/M "message"]      - Text of message to send (for /G, /U, /A switches).
[/OFFLINE]          - Save the message as offline for delayed delivery if some from recipients are not available (for /G, /U, /A switches).
[/URGENT]           - Deliver message with urgent priority (for /G, /U, /A switches).
[/DB "path"]        - Create SQL database backup file in specified location.

Bopup Communication Server version x.x.xx.xxxx command line utility.
(C) 2000– B Labs. All rights reserved.


Please remember the following rules on using the tool from a command line interface:

  • If the name of News message or User group contains a space then use quotation marks;
  • /M, /URGENT and /OFFLINE switches are valid only if you send messages to users and groups. They have no effect when you send News messages or create database backups;
  • A path specified on using /DB switch can be a full path to directory or file. In case if a directory is entered the utility creates backup with filename in the following format bcs-YYYYMMDD-TIME.backup that contains current year, month, day, hours and minutes. For example, bcs-20181105-1924.backup.


Examples:

This example shows sending an instant message to multiple users with specifying text of the message, offline delivery and urgent options:

bcscmd.exe /U administrator /U guest /U billy /M "This instant message sent from a command line" /URGENT /OFFLINE


This example shows sending an instant message to a user, messaging group and initiating News message:

bcscmd.exe /U administrator /G Group1 /M "This is message for users and groups" /N News2


This example shows sending an instant message all users that are currently connected to the server:

bcscmd.exe /A /M "This is message to all online users"


Current example creates SQL database backup file in specified directory:

bcscmd.exe /DB "C:\Temp"