Question : How to force a batch Script to start only after the fisrt one is finished.

In my company I would like to use SMS to push a script to uninstall the old antivirus (Trend Micro) and as soon as it is uninstalled install the new one.
I created two small scripts: the first one uninstall the old antivirus, and the second one install the new one. I tried them as .bat files and they are working fine.
Script 1:
@echo off
start
"c:\Program Files\Trend Micro\OfficeScan Client\NTRmv.exe"

Script 2:
@echo off
start
\\AntivirusServer\OFCSCAN\Autopcc

How can I in one script include those 2 small scripts, so it's like the second one starts as soon as the first one is uninstalled.
So I can push it to my clients using SMS.

Thanks for your help.

Answer : How to force a batch Script to start only after the fisrt one is finished.

PS: just add the two lines in one script.

Maybe you need the WAIT option:

1:
2:
3:
@echo off
start /WAIT "c:\Program Files\Trend Micro\OfficeScan Client\NTRmv.exe"
start \\AntivirusServer\OFCSCAN\Autopcc
Open in New Window Select All
Random Solutions  
 
programming4us programming4us