I have a directory with randomly named .bat files inside every .bat file in this directory I have unique names like:
- name1
- name2
- name3
- ...
I also have, within the same directory, a just.txt file. In this file, each line is a name of those that are within files with the .bat extension.
I need a command to be executed through a Windows batch file that checks each of the just.txt lines and executes a call in the .bat file that has this name.
Practical example:
abc.bat file code
echo nome10
xyz.bat file code
echo nome1
Text in the only .bat file:
nome1
What needs to be done by the new batch file: call xyz.bat