This works fine:
"C:\Program Files\Autodesk\AutoCAD 2010\acad.exe" /p "%LocalAppData%\Gallio\Preferences\acad_Gallio_testing_profile.arg"
But the same setting in the
%LocalAppData%\Gallio\Preferences\Gallio.AutoCAD.gallioprefs file doesn't work:
<?xml version="1.0" encoding="utf-8"?>
<preferences xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.gallio.org/">
<settings>
<setting name="CommandLineArguments" value="/p "%LocalAppData%\Gallio\Preferences\acad_Gallio_testing_profile.arg"" />
<setting name="StartupAction" value="StartUserSpecified" />
<setting name="UserSpecifiedExecutable" value="C:\Program Files\Autodesk\AutoCAD 2010\acad.exe" />
<setting name="WorkingDirectory" value="" />
</settings>
</preferences>
I get a message:
A bad profile file is specified in the command line:
%LocalAppData%\Gallio\Preferences\acad_Gallio_testing_profile.arg
The current profile name specified in the registry will be used.
So, Gallio incorrectly transfers arguments in AutoCAD, in my opinion.