@call "%~dp0config.bat" 0 > nul if [%~n2]==[] ( %SQLSRV%\dtexec.exe -File %PORTAL%\System\%SYSTEM:~1,-1%\SQL\dtsx\%~n1.dtsx > ..\logs\%~n1.dtsx.log ) else ( %SQLSRV%\dtexec.exe -File %PORTAL%\System\%SYSTEM:~1,-1%\SQL\dtsx\%~n1.dtsx -Conf %PORTAL%\System\%SYSTEM:~1,-1%\SQL\dtsx\%~n2.dtsconfig > ..\logs\%~n1.dtsx.log )