Ryan Savara 1369362 Posted March 25, 2017 at 04:39 PM Posted March 25, 2017 at 04:39 PM Hello, I am trying to start vATIS from the command line, and am getting an error. Here's my start script: start C:\Users\user\AppData\Roaming\vATIS\vATIS.exe And here is the error it throws: ============================================================ RadarContact.vATIS, Version=2.0.6140.23618, Culture=neutral, PublicKeyToken=null ============================================================ Culture : en-US OS : Microsoft Windows NT 6.2.9200.0 Framework : 2.0.50727.8009 Time : 03/25/2017 12:32:33 Runtime : 00:00:00.8173204 METAR : ------------------------------------------------------------ Details: A.F: An invalid parameter was p[Mod - Happy Thoughts]ed to the function. at A.J.C(String C) at A.YS..ctor() at A.WS.C() ============================================================ It should be noted that it does work as expected when started from the Menu/Explorer. Is there an argument I should be p[Mod - Happy Thoughts]ing through? Senior Student (S3) Chicago ARTCC Events Coordinator Link to comment Share on other sites More sharing options...
Ross Carlson Posted March 25, 2017 at 05:21 PM Posted March 25, 2017 at 05:21 PM You probably need to set the working directory to C:\Users\user\AppData\Roaming\vATIS\vATIS.exe before starting the app. (Just a guess, really ... Justin will correct me if my guess is wrong.) Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Justin Shannon Posted March 25, 2017 at 05:47 PM Posted March 25, 2017 at 05:47 PM Yes, Ross is correct. If you try to launch vATIS outside its working directory, then it can't find the components it needs during launch. Instead, use something like this: cd C:\Users\user\AppData\Roaming\vATIS && vATIS.exe Controller (C3), Los Angeles ARTCC Developer: xPilot, vATIS Link to comment Share on other sites More sharing options...
Ryan Savara 1369362 Posted March 28, 2017 at 12:16 PM Author Posted March 28, 2017 at 12:16 PM Awesome, thank you Ross and Justin! Senior Student (S3) Chicago ARTCC Events Coordinator Link to comment Share on other sites More sharing options...
Recommended Posts