Posted By

archlight on 01/04/09


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Tyster
thastyle


pass arguments to external program


 / Published in: DOS Batch
 

  1. for %%f in (*.pdf) do call :process %%f
  2. :process
  3. for /f %%v in ('"perl des.pl %1 %modelname%"') do set num=%%v
  4.  
  5. //pass each filename as argument to perl script to process and return a value to be processed in batch

Report this snippet  

You need to login to post a comment.