I need Help on creating BATCH script on windows to find .bat files from folders 1a, 1b, 1c, 2a,2b,2c and aa these folders contains others files too, but I need to find .bat files from these folders and execute those batch scripts if there are no .bat files in those folders then simply the script needs to exit. Please earliest response of you is highly appreciated.
Thanks for your time and advice in advace
Use the dir command
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |