Reputation: 1
I'm new here and have a question.
How can i write a batch file to do the following multiple tasks:
Thank you very much.
Upvotes: 0
Views: 426
Reputation: 50
You might wanna try:
@echo off
%SystemRoot%\System32\taskkill.exe /IM A_process.exe
start B_process.exe
%SystemRoot%\System32\timeout.exe /T 600 /NOBREAK
%SystemRoot%\System32\taskkill.exe /IM B_process.exe
start A_process.exe
exit
Upvotes: 1