Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5362

returned value from batch file

$
0
0

HI

I am calling bath file from CVI (win os):

int p_f= system ("C:\\Program Files\\BurnInTest\\_1.bat ");

when _1.bat call to another program, this program return 1 or 0.

 

After 'system' command, p_f always zero (its mean system command had no errors), but i want return value.

I try 'EXIT 5' (return 5) directly from _1.bat and still read 0


Viewing all articles
Browse latest Browse all 5362

Trending Articles



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