- Mar 22, 2013
- 9,146
- 10,489
So say you run a BAT file to open a program. This:
Can a BAT file be made to choose either this or that? For example:
And then the BAT file decides at random whether to open the first one or the second one.
I did the google fuck, tried various ways of searching, but just didn't find anything relevant.
Possible?
Code:
@ECHO OFF
Timeout /T 15
start C:\"Some folder"\"Other folder"\SomeProgram.exe
Can a BAT file be made to choose either this or that? For example:
Code:
@ECHO OFF
Timeout /T 15
start C:\"Some folder"\"Other folder"\SomeProgram.exe OR C:\"Some folder"\"Other folder"\SomeProgram1.exe
And then the BAT file decides at random whether to open the first one or the second one.
I did the google fuck, tried various ways of searching, but just didn't find anything relevant.
Possible?