12 Replies Latest reply on Nov 6, 2012 2:52 AM by -hans-

    Run .bat file with arguments?




         I need to run the .bat file with parameters/arguments in Adode Indesign JavaScript. "File.execute()" executes the file using the appropriate application.It executes the .bat file suceessfully.But I am unable to pass the arguments.I need to execute the command like

      Eg : test.bat parameter1 parameter2


      var myFile=new File("c:\\test.bat");



      The above statements works fine. Is it possible to execute the with parameters. Please suggest the solution to above problem.