So far V2 has been pretty transparent to me, but one script I run at boot (Win10 machine) is throwing this error:
I don't see what is wrong with the syntax. Can someone help or point me to where in the help files I can find the answer?
Error with V2 running a script
Re: Error with V2 running a script
Use an expression: quote your entire command line.
The documentation is your friend. Have a look to save yourself some time: https://www.autohotkey.com/docs/v2/lib/Run.htm#ExVerb
Code: Select all
#Requires AutoHotkey v2.0
Run A_ScriptDir '\test.cmd --xyz "123 456"',, 'Hide'