i'd remove the @echo off from the start, then it would write the command it's executing to the screen for each executableso you could make sure it is parsing and passing the variables correctly
or just change
for /f %%a in ('dir /s /b C:\Plugins\YardiPIInstall.exe') do %%a /qs C:\Test70.log /L "%_license file%" /d "%_directory%"
to f
or /f %%a in ('dir /s /b C:\Plugins\YardiPIInstall.exe') do echo %%a /qs C:\Test70.log /L "%_license file%" /d "%_directory%"
then it would just give you a list of the programs to be executed and the paramaters the script is passing as part of the command.