Problem is this, I have one folder named "abc" with several batch files and they are named like this:
abc1.bat
abc2.bat
abc3.bat
abc4.bat
and so on...
I need a script that will randomly start one of those batch files when I click it. Script I need will be stored in the same folder by the name "abcRandom.bat" or something similar.
Say 1000 is the number of your abcX.bat files. Then this will do the trick:
You can get an explanation how it works from https://stackoverflow.com/a/32700063/4070433