batch file processing that looks through subfolders

Programming related discussions related to game research
alwayslookin2
Posts: 11
Joined: Sat May 04, 2019 4:25 am

batch file processing that looks through subfolders

Post by alwayslookin2 »

I saw this code that can be saved as a .bat and ran to do batch processing, however it doesn't look in subfolders. Does anyone know how to make it run through all subfolders also

for %%i in (*.ext) DO quickbms.exe -o script.bms "%%i" "%CD%"
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: batch file processing that looks through subfolders

Post by aluigi »

Quickbms already supports folders scanning:

Code: Select all

quickbms -D script.bms c:\folder c:\output_folder