2018-05-10, 11:16
(2018-05-10, 10:51)WeirdH Wrote:just tried it , must be doing something wrong because kodi closes and reopens immediately..(2018-05-09, 17:17)fregrinz Wrote: per launcher setting would be great. I been fiddling with bat files but starting go over my head a little, years since looked at anything like this.
I tried the following and it killed kodi,opened uplay,but then instantly reopened kodi..
@echo off
taskkill /f /IM kodi.exe
Uplay.exe
cd\
cd D:\Program Files (x86)\kodi
Start /WAIT Kodi.exe
i try reading that forum link as well in mean and thanks for pointers so far.
I found the same problem with taskkill, and when searching for an alternative, I found pskill.
Link.
Using this in my batch files waits before relaunching Kodi.
Example batch file:
pskill Kodi.exe
cd /d "G:\HTPC-zooi\EMULATIE\SNES"
zsnesw.exe %1 %2
cd /d "C:\Program Files (x86)\Kodi\"
start Kodi.exe -fs
pskill Kodi.exe
cd /d "D:\Origin"
Origin.exe %1 %2
cd /d "D:\Program Files (x86)\Kodi\"
start Kodi.exe -fs