Hey,

I'm trying to make a batch file that compresses some files using 7-zip and it all worked fine except for a tiny little problem (actually huge), when I run the command on a specific file or folder, it starts compressing random files in my computer. Here's the command I use:
Code:
7z a -tzip "%x%.jar" * -r -mx0
where x=test_extension.

Note: I'm trying to do it using a script I found on the internet that takes all firefox extension files and creates an xpi file out of them.

Thanks a lot for any help.

PS: If anyone knows a good tutorial for getting to know all the commands for firefox extensions (I saw a lot of commands in the JavaScript files that I didn't know, like: Components.classes, NsI and more.) that would be nice.