2013-05-28 3 views
1

J'ai un problème avec mon fichier de commandes (.bat). Il a les lignes suivantes:Exécution séquentielle des instructions de lot

start /d "\\Pcaldatp01\myroute" App1.exe 

start /d "\\Pcaldatp01\myroute" App2.exe 

start /d "\\Pcaldatp01\myroute" App3.exe 

start /d "\\Pcaldatp01\myroute" App1.xlsm 

Mais tous les exécuter en même temps, je veux chaque application à exécuter dans l'ordre après la précédente se termine.
Comment le faire?

+3

ajouter l'option '/ wait'. – npocmaka

+0

Génial, ça a marché, merci. – phalanx

Répondre

1
start "" /wait /d "\\Pcaldatp01\myroute" App1.exe 
start "" /wait /d "\\Pcaldatp01\myroute" App2.exe 
start "" /wait /d "\\Pcaldatp01\myroute" App3.exe 
start "" /wait /d "\\Pcaldatp01\myroute" App1.xlsm 
Questions connexes