2012-06-26, 21:25
(2012-06-26, 21:05)chris295 Wrote: Actually scratch that, that last mistake was mine, I forgot I changed the rom name a few minutes ago (thought maybe it was too long or something) it works with that %1 arguement. Can you explain what that %1 actually does for future knowledge? I don't want to bug you everytime I set something up with the launcher. Thanks so much!%1 is referring to the first argument send to the .bat file. Advanced Launcher send all its argument field value to .bat files into %1. So if your command line to start your application is :
Code:
cd "C:\Program Files (x86)\Dolphin-x64-r6703\x64\Dolphin.exe" /b /e "%rom%"
And your Advanced launcher arguments are :
Code:
/b /e "%rom%"
Then the command line into your .bat file will be :
Code:
cd "C:\Program Files (x86)\Dolphin-x64-r6703\x64\Dolphin.exe" %1
But if your Advanced launcher arguments are only :
Code:
%rom%
Then the command line into your .bat file must be :
Code:
cd "C:\Program Files (x86)\Dolphin-x64-r6703\x64\Dolphin.exe" /b /e "%1"
Double quotes (") must be used around all paths to avoid problem with paths containing spaces. You also must take care to not use them in double because they cancel each other : double double quotes = no quote.