@set method=%1
@IF "%~1" == "" (set method="large_nii")

@cd tmp2
@..\txcode.exe --method %method% EthPoly_tab.hmx 100 2 0 >L100P2D0.log
@..\txcode.exe --method %method% EthPoly_tab.hmx 100 2 1 >L100P2D1.log
@..\txcode.exe --method %method% EthPoly_tab.hmx 100 2 2 > L100P2D2.log
@..\txcode.exe --method %method% EthPoly_tab.hmx 100 2 3 > L100P2D3.log
@cd ..