batch/bat file FOR LOOP question
0 posts in topic
Flat View  Flat View

Posted By:   neal_ravindran
Posted On:   Wednesday, February 21, 2007 07:54 AM

I have the following bat file

set customJars=jarX jarY jarZ
set version=1 2 3
FOR %%A IN (%customJars%) DO CALL %%A

The above works..but, I also want to pass the version number to . How do I do that? (Since I need the version seperately in the ensuing bat file, namely, , tacking the version to jarX, jarY will make it more difficult to extract the version number)

About | Sitemap | Contact