(2012-08-01 23:03)hewskie Wrote: Hello Everyone,Windows XP only support 8.3 names into path format. For exemple the program files folder is identified as progra~1. So you must modify your script to something similar to this :
I've been following along with this because I'm trying to do the same thing except with Zsnesw.exe
The script above works perfectly, except it won't load xbmc.exe at the end. It looks like this:
Code:
HotKeySet("{ESC}", "Terminate")
If $CmdLine[0] == 1 Then
ProcessClose ( "xbmc.exe" )
Run ( '"E:\SNES Project\Zsnesw151\zsnesw.exe" ' & $CmdLine[1], "E:\SNES Project\Zsnesw151\" )
While 1
Sleep(100)
WEnd
EndIf
Func Terminate()
ProcessClose ( "zsnesw.exe" )
Run ( '"E:\program files\xbmc\xbmc.exe"' )
Exit 0
EndFunc
My HTPC is using win xp but my main pc is win7. Would Win XP effect this at all?
I also tried the pssuspend method but got the same result. XBMC will suspend, but won't resume at the end.
Any ideas?
Thanks!
Code:
HotKeySet("{ESC}", "Terminate")
If $CmdLine[0] == 1 Then
ProcessClose ( "xbmc.exe" )
Run ( '"E:\SNES Project\Zsnesw151\zsnesw.exe" ' & $CmdLine[1], "E:\SNES Project\Zsnesw151\" )
While 1
Sleep(100)
WEnd
EndIf
Func Terminate()
ProcessClose ( "zsnesw.exe" )
Run ( '"E:\progra~1\xbmc\xbmc.exe"' )
Exit 0
EndFunc
I don't get it
Search
Help