The following batch file starts and stops the BBC iplayer service and program. To use it copy and paste the text into notepad and save it with extension .bat . Then double click to run and press 1 to start and 0 to stop.
___ iplayer.bat
@echo off
cls
rem start and stop iplayer service
set choice=0
set /p choice=Iplayer: 0=stop, 1=start:
if ‘%choice%’==’1′ goto NUM_1
if ‘%choice%’==’0′ goto NUM_0
:NUM_1
net start “Kservice”
“C:\Program Files\Kontiki\KHost.exe” -p iplayer_live -t cache:download_index.html -s class=dialog,width=530,height=680,position=2,scrollbars=1,resize=1,name=main”
goto end
:NUM_0
taskkill /F /IM khost.exe
net stop “Kservice”
goto end
:end
exit
