Ver Mensaje Individual
  #2  
Antiguo 22-07-2010
jgutti jgutti is offline
Miembro
 
Registrado: may 2003
Posts: 189
Reputación: 24
jgutti Va por buen camino
thoronluin, para ejecutar java desde un bat utilizo ShellExecute el cuál permite ejecutar el bat con parametros
- Ejemplo:

ShellExecute(Form1.Handle, 'Open', 'c:\ejemplos\archivobat.bat',' -a "c:\ejemplos\archivoentrada .xml" -p "c:\ejemplos\plantillaarchivo.xml" -c "c:\ejemplos\certificado.p12" -s passw -o "c:\ejemplos\archivosalida.xml"',SW_MAXIMIZE );

saludos
jgutti
Responder Con Cita