Got an idea.
Try to edit the restart.vbs file to ignore errors like that (just insert the red line):
========================================= Option Explicit
Dim process
Dim shell on error resume next
For Each process in GetObject("winmgmts:").ExecQuery("select * from Win32_Process where name='MediaPortal.exe'")
process.Terminate(0)
Next
WScript.Sleep 1750
set shell=createobject("WScript.Shell")
shell.Run "mediaportal"
================================================
Last edited by josch.hh; 2008-05-29 at 23:58.
Reason: Automerged Doublepost
|