How can I get the jar tool to read command-line arguments from a file?

John Zukowski

If you are passing lots of command line arguments, like to change directories (-C), you can put all the commands into a file and precede the filename with an @ sign on the command line.

For instance, if the command were in the file commands.txt, you can call jar with:

jar @commands.txt
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact