We have:
file - Its.my.file.txt
directory - Its.my.directory
And single command:
Code: Select all
[em_7Z_pack]
cmd=%commander_path%\Plugins\arc\7-Zip\7zG.exe
param=a -ad -scsUTF-16LE "%P%O.7z" @%WL
menu=7-Zip: Pack selected files
Its.my.file.7z
Its.my.directory.7z
Reality:
Its.my.7z
Its.my.7z
--------------------
Another Example
Code: Select all
[em_7Z_maxLZMA]
cmd=%commander_path%\Plugins\arc\7-Zip\7zG.exe
param=a "%O.7z" -t7z -mx9 -m0=LZMA -mse -ssw -scsUTF-16LE -y @%WL
menu=7-Zip: Maximum compression LZMA
Its.my.file.7z
Its.my.directory.7z
Reality:
Its.my.file.txt.7z
Its.my.7z
----------------------
One more
Code: Select all
[em_RAR_pack_ms]
cmd=%commander_path%\Plugins\arc\Rar\Rar.exe a -m5 -s -ms -os -cfg- -o+ -ep1 -idcdp -c-
param="%O.rar" %S
menu=RAR: Pack with solid maximum compression
Its.my.file.rar
Its.my.directory.rar
Reality:
Its.my.file.rar
Its.my.rar
--------------------
Suggestion:
Parameter for file name without extension or directory name (considering that directories don't have extension in common sense).