View Single Post
Old 2008-05-29, 23:06   #2 (permalink)
josch.hh
Portal Member
 
josch.hh's Avatar
 
Join Date: Mar 2008
Location: Hamburg
Posts: 159
Thanks: 2
Thanked 27 Times in 11 Posts

Country:

My System

Default

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
josch.hh is online now   Reply With Quote