Ouvrir deux batch avec un vbs

Fermé
melvinou22 Messages postés 113 Date d'inscription jeudi 7 avril 2016 Statut Membre Dernière intervention 1 mars 2020 - 25 juin 2017 à 16:52
melvinou22 Messages postés 113 Date d'inscription jeudi 7 avril 2016 Statut Membre Dernière intervention 1 mars 2020 - 26 juin 2017 à 17:19
Bonjour je voudrais savoir comment je pourrai faire pour lancer deux batch avec un vbs pour l'instant j'en ai un qui est composer de ça
Set oWShell = CreateObject("Wscript.Shell")
oWShell.Run """F:\test\test1.bat""", 0, False
Set oWSHell = Nothing
et qui me permet de lancer test1.bat en arriere plan
et je voudrai que en même temps il me lance test2.bat et qu'il travaille tout les deux en même temps
A voir également:

1 réponse

yg_be Messages postés 22720 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 23 avril 2024 1 476
25 juin 2017 à 17:11
bonjour, peut-être ainsi?
Set oWShell = CreateObject("Wscript.Shell") 
oWShell.Run """F:\test\test1.bat""", 0, False 
oWShell.Run """F:\test\test2.bat""", 0, False
Set oWSHell = Nothing
0
melvinou22 Messages postés 113 Date d'inscription jeudi 7 avril 2016 Statut Membre Dernière intervention 1 mars 2020 32
26 juin 2017 à 17:19
merci pur cette reponse potntiel je vais voir
0
melvinou22 Messages postés 113 Date d'inscription jeudi 7 avril 2016 Statut Membre Dernière intervention 1 mars 2020 32
26 juin 2017 à 17:19
potentiel
0