Reply to thread

Regarding restart.vbs, if I read this code correctly then the logpath definition should be replaced by the respective "Skin" information from mediaportaldirs.xml


[CODE=WinBatch]Set Shell         = CreateObject("WScript.Shell")

Set Shell2        = CreateObject("Shell.Application")

Set objFolder     = Shell2.Namespace(ssfCOMMONAPPDATA)

Set objFolderItem = objFolder.Self


logpath           = objFolderItem.Path & "\Team MediaPortal\MediaPortal\log\"

lognew            = logpath + "\" + Wscript.ScriptName + ".log"

logold            = logpath + "\" + Wscript.ScriptName + ".bak"[/CODE]


Any other change required? If not, I will start making my first steps towards Powershell processing of XML files...


Top Bottom