Code: Select all
"Archive last selected"
run "C:\Program Files\7-Zip\7z.exe" "a" "-t7z" "<curbase>.7z" "<curitem>"Code: Select all
"Archive last selected"
run "C:\Program Files\7-Zip\7z.exe" "a" "-t7z" "<curbase>.7z" "<curitem>"Wonderful hint! Strip quotes! Thanks a lot, zer0!zer0 wrote:7zip takes space-separated list of items, so try using <selitems>, though you may need to strip quotes from the content.
Code: Select all
"Archive all selected to 7z with their parent folder name"
run "C:\Program Files\7-Zip\7z.exe" "a" "-t7z" "<curfolder>.7z" <selitems>