I'm trying to mimic 7-Zip's context menu items so that I can ditch 7-Zip's explorer DLL hook. This challenge problem came up when I try to insert the filename (without extension) into the internal association.
What's easy to accomplish: Let's say I want to create a context menu to extract the contents of a zip file to the current folder. The command is like " 7zG.exe x ABC.zip" So the internal association is as simple as:
Code: Select all
Filter1=*.zip
Filter1_7-Zip=7zG.exe x "%1"
Code: Select all
Filter1=*.zip
Filter1_7-Zip=7zG.exe x "%1" -o"%O"
Does anyone know if it is possible, or if there is a workaround? Thanks in advance!