Serenity wrote:
...although if they contain a comma you need to escape it...
...I recommend never escaping anything...put it in a var & don't worry about escaping...
Code:
cmd1="C:\Program Files\BHPS\CYPI\Instlr\bin\update.exe" CYPI
cmd2=G:\ENGLISH\..\Restart\setup C:\AIC,FALSE
Run, %cmd1%
Run, %cmd2%
...also if what you have has percents, then you can not have to escape them too...
Code:
cmd1=
(LTrim %
"C:\Program Files\BHPS\CYPI\Instlr\bin\update.exe" %example% CYPI
)
cmd2=G:\ENGLISH\..\Restart\setup C:\AIC,FALSE
Run, %cmd1%
Run, %cmd2%
...that's an example for sending percent-example-percent as a param & not having AutoHotkey see it...rare, but that's how I'd do it...trying to "escape" each "special" char would give me a headache...