vendredi 25 septembre 2015

Batch script for starting random .bat file from a certain folder

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...Now i need a script that will randomly run one of those batch files when i click it.That Script i need will be stored in the same folder by the name "abcRandom.bat" or something similar,name isn't of big importance. I have no experiance in batch scripting,so any help i get is highly appretiated.I asume that it wont be a big deal for you guys here to solve it at all,so thanks in advance,CHEERS.




Aucun commentaire:

Enregistrer un commentaire