batch script
cd normal
for %%f in (*.nca) do hactool -x -k "keys.ini" --section0dir=section0 --section1dir=section1 --section2dir=section2 --section3dir=section3 %%f
cd ../secure
for %%f in (*.nca) do hactool -x -k "keys.ini" --section0dir=section0 --section1dir=section1 --section2dir=section2 --section3dir=section3 %%f