<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: runprogram(str commandline) for .exe requiring .csv inputs and outputs .csv in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503411#M18051</link>
    <description>&lt;P&gt;Thank you for your answer. Unfortunately, the run as an administrator does not resolve the problem. Sorry, if my question was not very clear. It was indeed a path issue. &lt;/P&gt;
&lt;P&gt;Finally, we solve the problem by saving the FlexSim model in the same directory as the .exe. This way, the .exe is able to access the .csv required even after "being change of location" by the runprogram() function. Another solution that should work would be to put a path relative to the FlexSim model location and the not the .exe location in the original code of the .exe. &lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 15:00:18 GMT</pubDate>
    <dc:creator>roxanne_t2</dc:creator>
    <dc:date>2019-02-07T15:00:18Z</dc:date>
    <item>
      <title>runprogram(str commandline) for .exe requiring .csv inputs and outputs .csv</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503409#M18049</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We want to use the runprogram(str commandline) to run an external program. The function works very well to run an "independant" .exe. Thank you for that. &lt;/P&gt;
&lt;P&gt;However, we want to run an .exe which takes multiple .csv as inputs and outputs multiple .csv (these .csv are stored in the same directory than the .exe). For some reason (maybe a path modification when executing the runprogram() function), the .exe cannot access the .csv anymore when it is executed by the FlexSim function and thus cannot run. &lt;/P&gt;
&lt;P&gt;Could you please help me with this issue ?&lt;/P&gt;
&lt;P&gt;Thank you very much for your answers.&lt;/P&gt;
&lt;P&gt;Roxanne &lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 08:15:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503409#M18049</guid>
      <dc:creator>roxanne_t2</dc:creator>
      <dc:date>2019-02-07T08:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: runprogram(str commandline) for .exe requiring .csv inputs and outputs .csv</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503410#M18050</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/9890/roxannet2.html" nodeid="9890"&gt;@Roxanne T2,&lt;/A&gt; can you be a bit more precise when the csv file are opened and closed by which program. Perhaps it has something to do with the right management. You can try to run FlexSim as an administrator. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 11:22:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503410#M18050</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-02-07T11:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: runprogram(str commandline) for .exe requiring .csv inputs and outputs .csv</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503411#M18051</link>
      <description>&lt;P&gt;Thank you for your answer. Unfortunately, the run as an administrator does not resolve the problem. Sorry, if my question was not very clear. It was indeed a path issue. &lt;/P&gt;
&lt;P&gt;Finally, we solve the problem by saving the FlexSim model in the same directory as the .exe. This way, the .exe is able to access the .csv required even after "being change of location" by the runprogram() function. Another solution that should work would be to put a path relative to the FlexSim model location and the not the .exe location in the original code of the .exe. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 15:00:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/runprogram-str-commandline-for-exe-requiring-csv-inputs-and/m-p/13503411#M18051</guid>
      <dc:creator>roxanne_t2</dc:creator>
      <dc:date>2019-02-07T15:00:18Z</dc:date>
    </item>
  </channel>
</rss>

