The batch file execute both the commands in IF and ELSE. I checked the syntax and space, no idea what is wrong.
IF EXIST C:\Program Files (x86)\Google\Chrome (
start chrome www.google.com
) ELSE (
start iexplore www.google.com
)
Both chrome and IE are opened as if the statement is not working.
Aucun commentaire:
Enregistrer un commentaire