Hi All,
I want to kill agent after the execution of every testcase.
I was able to do it on WindowsXP but it is not working on Windows2000.
The code is mentioned below:-

REM test1
call C:\PROGRA~1\Borland\SilkTest\Projects\Keyword_Driv en\startagent.bat
partner -q -quiet -r C:\PROGRA~1\Borland\SilkTest\Projects\Keyword_Driv en\Test.t test1
echo Testcase Test completed
REM Sleep for 10 seconds
@ping -n 10 -w 1000 > nul
call "C:\Program Files\Borland\SilkTest\Projects\Keyword_Driven\kil lagent.bat"
///=====code for starting the agent====////
start agent -p 2965

////====code for killing the agent====////
taskkill /F /IM agent.exe