Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all articles
Browse latest Browse all 3432

How to run .bat file in trigger scripting of Integrity

$
0
0

How to run a batch file in trigger script of Integrity?

 

java.lang.Runtime.getRuntime().exec('cmd /c start E:\\oval\\CPProject.bat');

 

is above command is right to execute batch using JAVA API in Integrity server.

 

I am able to write and read batch file using JAVA API script but above command does not execute the batch file after writing. Kindly help me to execute the batch file in Integrity server. 

 

Thanks in advance


Viewing all articles
Browse latest Browse all 3432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>