Information générale
Catégorie:
Fonctions Windows API
Titre:
Wait for cmd window to finish
Hi
I am sure I have seen an answer to this problem before.
I am kicking of a command window which is running a bat file, the bat file is using ISQL to run some SQL, and write the results to a file.
I need the program to wait until the command window has been closed by the exit command in the bat file.
Does any one know of an API , or a wrapper function to do this..
I this I could get the handle of the window when I first open it, and then loop until the handle is no longer there ?
Thanks for your help in advance.
Regards
Steven Bowskill
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement