I have a button with the following em_command
Code: Select all
[em_PackFilesRAR]
cmd=cm_PackFiles
param=/T="%T%B"D1R1A0E="rar"G:
menu=Pack selected elements to RAR with name of current dir
button=wcmicons.dll,30
If I select a dir with doesn't contain any files, it works and saves the full tree as rar archive,
including all files and sub-dirs.
If a dir also contains files, It creates an archive of the files only and in zip format