windowed is a variable? use %windowed%
Not quite sure what you want the parameter to be.
Perhaps you want:
Code:
run, "c:\program files\world of warcraft\wow.exe" "\\-%windowed%"
but... I'm not sure what the two slashes are there for. Perhaps you want:
Code:
run, "c:\program files\world of warcraft\wow.exe" "-%windowed%"
However, it's possible wow.exe will include the double quotes as part of the parameter instead of using them as parameter delimiters. They may not be necessary:
Code:
run, "c:\program files\world of warcraft\wow.exe" -%windowed%
(depends on what the
windowed variable is.)
The thing about Windows OS is the newly created process (wow.exe) is responsible for parsing the command line to extract the parameters. (If the program *.exe is written in C/C++, then the C/C++ compiler which compiles the program secretly adds code to the executable which retrieves the command line and parses it to get the parameters. In this case at least there's a consistent standard.)