How to run BCArchive from the command-line prompt

The following BCArchive commands can be run from command-line prompt:

  1. Open existing archive.

  2. >BCArchive     Open     archive_name
  3. Add file/folder to archive

  4. >BCArchive     Add     archive_name     file/folder/@*listFile name     [ -PKID publicKeyID ]

    @* - prefix before list file name,
    *    - means delete the list file when process finishes
    -PKID publicKeyID - see 'Options' below.
  5. Extract specified files

  6. >BCArchive    Extract     archive_name     destination_folder_name [ file pattern list ... ]

    Sample: >BCArchive Extract "C:\My archive.bca" C:\tmp *.txt

    (All txt files will be extracted from "C:\My archive.bca" to C:\tmp folder.)
    Note, file name pattern may contain * or % symbols
    %     means any single symbol is allowed
    *     means any symbols is allowed
    Sample: "qwerty" is compatible with "q%e*y*".

  7. Encrypt by public key and send.

  8. Chooses public key user ( or uses the one defined by PKID ), encrypts files by public key and sends them to the owner of the key.

    >BCArchive    Send     file/folder_name    [ -PKID publicKeyID ]

    -PKID publicKeyID - see 'Options' below.

  9. Make self extracted file .EXE from existing .BCA archive

  10. >BCArchive    MakeSelfExtracted    archive_name [ new exe path ]    [ -LF logFileName ]
  11. Show local database public key identifiers.

  12. >BCArchive ShowPKID


-PKID publicKeyID

If public key identifier (-PKID) is specified, it creates new archive encrypted by the public key. Note, the public key must exist in local database. Use Manage Key Database command in Archive menu in BCArchive.
Use ShowPKID command to view public keys existing in your database.
You may define several -PKID parameters to encrypt by several public keys and send the archive to all users.

-LF logFileName

Writes messages to the log file in batch mode.