Britec Tech Support Forum
Start a program from a batch file - Printable Version

+- Britec Tech Support Forum (https://briteccomputers.co.uk/forum)
+-- Forum: Members Area (https://briteccomputers.co.uk/forum/forumdisplay.php?fid=53)
+--- Forum: General Discussion (https://briteccomputers.co.uk/forum/forumdisplay.php?fid=10)
+--- Thread: Start a program from a batch file (/showthread.php?tid=4883)



Start a program from a batch file - johnliem - 01-28-2019

Hello

can anyone tell me, if it is possible to make a batch file to start some programs for example see below


Program 1
cd "C:\Program Files\CCleaner"
start CCleaner64.exe

Program 2
cd "C:\Program Files (x86)\Wunderlist2"
start Wunderlist.exe


also I want to know if it is possible that the batch file will wait to execute the next program, what I mean by that when the bacth file execute program 1 will wait till program 1 finished then it will execute next program and next program again
I see about this option start /b . but I do not know how to do that.


RE: Start a program from a batch file - Compton - 01-28-2019

https://www.makeuseof.com/tag/write-simple-batch-bat-file/






RE: Start a program from a batch file - Compton - 01-30-2019