@echo off set _SERVER_=%1 set _PORT_=%2 set _PASS_=%3 set _PROJECT_=%4 echo START_ANALYSIS :: display new defects found cov-manage-im --host "%_SERVER_%" --port %_PORT_% --user admin --password %_PASS_% --mode defects --show --project "%_PROJECT_%" --status New --separator " " --no-headers echo END_ANALYSIS