2013-06-19, 14:27
(2013-06-19, 13:14)lokipoki Wrote: Hey.You forget to open/close some single quotes.
I'm trying to pass parameter to run a .lnk.
Here is my code:
Code:Run(@ComSpec & ' /c "D:\HTPC\Games\PC\& $CmdLine[2] &.lnk", @DesktopCommonDir, @SW_HIDE)
It wont compile. Whats wrong in my code?
Cheers.
Code:
Run(@ComSpec & ' /c "D:\HTPC\Games\PC\& $CmdLine[2]' & '.lnk"', @DesktopCommonDir, @SW_HIDE)
BTW, do you know that Advanced Launcher natively support start of windows .lnk files? http://www.gwenael.org/xbmc/index.php?ti..._shortcuts and http://www.youtube.com/watch?v=JyfRa7gygEc