The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 861 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 861 errorHandler->error





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start a program from a batch file
#1
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.
Reply



Messages In This Thread
Start a program from a batch file - johnliem - 01-28-2019, 08:18 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.