Author Topic: Batch process pauses in between every qb64 exe  (Read 2535 times)

0 Members and 1 Guest are viewing this topic.

Offline sparjolly

  • Newbie
  • Posts: 5
    • View Profile
Batch process pauses in between every qb64 exe
« on: October 31, 2020, 08:25:44 pm »
I have created the following batch file to execute two QB64 exes in succession. It works, except that the process pauses in between the two programs with "Press any key to continue" message. Is there some way to suppress this pause so that both the programs are run without any key press required?

C:\Windows\SysWOW64\cmd.exe /c PROGA
C:\Windows\SysWOW64\cmd.exe /c PROGB

FellippeHeitor

  • Guest
Re: Batch process pauses in between every qb64 exe
« Reply #1 on: October 31, 2020, 08:27:06 pm »
Add SYSTEM to the end of your programs:

Code: QB64: [Select]

Offline sparjolly

  • Newbie
  • Posts: 5
    • View Profile
Re: Batch process pauses in between every qb64 exe
« Reply #2 on: October 31, 2020, 08:58:36 pm »
Yes, this solved the problem. Never realized till now the difference between "END" and "SYSTEM" statements which I have been using interchangeably all these years. Thank you for the quick response.