@ErikPshat
you have to do the same as above except for this
replace
for /f "tokens=*" %%B in (!infile!) do %tools%\make_npdata -e "%SNAME%\PS3_GAME\%%~B" "%DIRNAME%\%%~B" 0 1 3 0 16
with
for /f "tokens=*" %%B in (%infile%) do %tools%\make_npdata -e "%SNAME%\PS3_GAME\%%~B" "%DIRNAME%\%%~B" 0 1 3 0 16
_