How to run BCArchive from the command-line prompt
The following BCArchive commands can be run from command-line prompt:
- Open existing archive.
>BCArchive Open archive_name
- Add file/folder to archive
>BCArchive Add archive_name file/folder/@*listFile name [ -PKID publicKeyID ]
where:
@* - prefix before list file name,
* - means delete the list file when process finishes
-PKID publicKeyID - see 'Options' below.
- Extract specified files
>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*".
- Encrypt by public key and send.
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.
- Make self extracted file .EXE from existing .BCA archive
>BCArchive MakeSelfExtracted archive_name [ new exe path ] [ -LF logFileName ]
- Show local database public key identifiers.
>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 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.