2013-06-27, 09:30
(2013-06-23, 13:50)Angelscry Wrote:(2013-06-23, 06:02)lokipoki Wrote:Ok... I doesn't work because you cannot pass the argument ($CmdLine[1]) through the first .LNK file. Because it is not :(2013-06-22, 02:38)lokipoki Wrote: Ok. I try that when I come home...
I turn of the ink. but nothing happens. Also I dont use the launcher.exe as application because all of the .ink in D:\HTPC\Games\PC\ point to the launcher.exe. I hope you understand what you mean.
.ink+explorer.exe (XBMC)>launcher.exe>.ink (Games)
I think the problem is somewhere in my code:
Code:Run(@ComSpec & ' /c "D:\HTPC\Games\PC\' & $CmdLine[1] & '.lnk"', @DesktopCommonDir, @SW_HIDE)
I think it doesnt pass on the .ink extension to my launcher.exe. But I can only guess.
Cheers.
Code:.ink+explorer.exe (XBMC)>launcher.exe>.ink (Games)
but :
Code:explorer.exe (XBMC)> .lnk > launcher.exe>.lnk (Games)
than happen. So the %romname% is send to .lnk file and it is not able to send it to launcher.exe. I don't understand why you manage 2 .lnk files for each game when you can only do this with one :
Code:launcher.exe (XBMC)>.lnk (Games)
Ok I changed it now.
Application:launcher.exe
The .ink is pointing now directly to the games which works fine. But it seems that the launcher.exe doesn't execute. How come?!
Cheers.