[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

call batch file return value

im using vc++. im calling a batch file using system(const char*). i want the batch to return a value to indicate that it ran successfully or not. how do i do this?
0
Raymun
Asked:
Raymun
1 Solution
 
ozoCommented:
exit 0
exit 1
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now