Thursday, 29 August 2013

Command line from C++

Command line from C++

I am trying to execute a jar file from C++ using command line in code. The
jar creates a file when executed in the cmd window but from C++ code, no
file is created. Please note the C++ code is a dll.
system("java -jar
C:\\Secure\\Source\\cutlas\\Core\\bin\\otk-1.4.1-with-dependencies.jar
binview -b64 -i C/2FjCgY/wELQRQk+O8BWnc= -k binview-line1.kml");
The file created should be binview-line1.kml

No comments:

Post a Comment