GetDefaultCommands

Far Manager

GetDefaultCommands

Get archiver command strings used by default
BOOL WINAPI GetDefaultCommands(
  int Type,
  int Command,
  char *Dest
);

Parameters

Type
Archive type
Command
Archiver command number:
NumberDescription
0extract
1extract without path
2test
3delete
4comment archive
5comment files
6convert to SFX
7lock
8add recovery record
9recover
10add files
11move files
12add files and folders
13move files and folders
14mask to select all files

This is how it looks like in MultiArc plugin settings:

ALT
Dest
Buffer for copying commands. MultiArc expects string of no more than 512 bytes.

Return value

TRUE in case of success. FALSE if the specified archive type is unsupported. If the type is supported but the required command is missing return TRUE and set Dest to an empty string.
See also: