The format is:
BtrTools.exe Filename1
File name:
Filename1 : This must be a valid Btrieve file. This is required. If it is not present then the program logs no file name present and shuts down.
Commands:
-R : This command causes the program to perform a recovery on the specified file.
-M:filename2 : This command causes the program to merge the first file with a second Btrieve file specified by filename2.
-S[:filename2] : This command causes the program to save the file as a Binary ASCII file named filename2. If no file name is given then then Filename1 is used with a txt extension.
-L:filename2 : This command causes the program to load the second file (a binary ASCII file) into the first file.
-T : This command prints the file statistics to the log file.
-I : This command performs an integrity check and logs the result in the log file.
If more than one command is used (besides Filename1), then BtrTools executes the commands in the following order: Recover, Merge, Save, Load, Statistics, Integrity check.
If no commands are present, then BtrTools runs in interactive mode, as usual.
When BtrTools is launched with the shortcut parameters, all of the buttons and menu options are grayed out, but the results are displayed as normal.
The program will log all actions initiated by the shortcut parameters in a file called BtrTools.log. The program creates the file (if necessary) and appends all entries to the end of the file.