I need a batch file (.bat) that list all txt files from a directory and list them as variables and in a new menu so I can run them.
Folder contains:
test1.php, test1.txt test2.txt, image.bmp
Then the result in the menu should be:
Press 1 for test1
Press 2 for test2
It should also look in subfolders.