Right Click - Send arguments.
Posted on 2004-04-17
I'm new to this stuff. So, please bear with me.
I wanted to use javas' jar tool to do all zipping/unzipping. So I created two batch files...
1. zip.bat which contains:
jar cvfM abc.zip abc
2. unzip.bat which contains:
jar xvf abc.zip
Then I associated zip.bat to "Folders" and unzip.bat to "zip files" in "Folder Options"
What I want to do is send the folders name to the script - zip.bat;
and zip files name to the script - unzip.bat.
All I'm able to do right now is use the same constant names "abc" for folder and "abc.zip" for the zip file.
How do I make it dynamic?
Essentially, how do I send the name of the right clicked file/folder as an argument to an application?