Information générale
Catégorie:
Fonctions Windows API
Titre:
Executing DOS Batchfile within Program
I need to execute a DOS batch file within my program and I did it with
RUN /N2 "File Name.BAT", and it works perfectly alright. My problem with this one is that since I use the /N2 flag the execution continues within my application eventhough the commands in batch file still pending. I need to overcome this problem and one option which I have in front of me is let the dos window run in foreground by removing the /N2 flag. I am searching for any other options which will help me in solving this problem.
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