Page 1 of 1

Run Command ON Folder

Posted: 15 Jul 2019 07:26
by koolkat67
I have an executable called printfroll.exe that runs on subfolders but not within them and kicks out a report
So if I'm in folder /ABC with Subfolders DEF, GHI and JKL, I would place this exe in /ABC with a command printfroll DEF > DEF.txt, it looks within each subfolder and kicks out a report.
How do I make a batch to run this in a loop and execute on each subfolder?
k