I whant to build a little C++ console application (with code block) for launch a command in command line get the result of this command (showed in the cmd window) then do an action depending of the result
It's only for Windows OS
For exemple:
ShellExecute(0, "open", "cmd.exe", "/C command1", 0, SW_HIDE);
if command1 return value1 do function1 else do function2
return 0
Aucun commentaire:
Enregistrer un commentaire