I am making a small bat to break a branch on an application that I am mounting, where it should execute sql scripts inside the MySQL database. The problem is that I have to edit this bat every time I insert a new script and this ends getting annoying ...
Is there any way I can get the name of all files inside a folder through the prompt and from there execute a command at the prompt for each file?