Thanks again. I appreciate it!
That script is a good idea, but before writing to its author:
I've written to WinZip support and they kindly referred me to
http://kb.winzip.com/kb/entry/238/And suggested to replace zip with xpi.
It might be somewhat ungrateful, but I'm used to WinRar. I still may purchases WinZip.
set file=%~f1
"C:\Program Files\WinRar\WinRar" a -afzip "%file:~0,-4%.xpi"
With that code in a batch file, WinRar compresses to FileName.xpi
I've got some problems with that:
1) If I select all items, folders are not included in the compression (only files).
2) I get the same result whether I select a single file or multiple files (i.e. ALL files are compressed).
2) The compressed file name is always that of the file on which I right-click -> Send To -> Batch.
If I add "%1" to the end of the second line, only the file on which I right-click is compressed.
IOW, I'd like the batch to work like the "Compress to" command.
If you are familiar with batch code, I'd be grateful for help.
*
I hope you're doing well.
Best wishes.