<?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: Regarding the getdirbrowse() function within the command reference in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13798662#M98036</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17831539"&gt;@kuwahara_ryo&lt;/a&gt;, after some testing, I don't think getdirbrowse can handle multibyte strings. I've notified the dev team to investigate further and fix.&lt;/P&gt;
&lt;P&gt;Thank you for bringing this to our attention!&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2025 17:02:24 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2025-09-05T17:02:24Z</dc:date>
    <item>
      <title>Regarding the getdirbrowse() function within the command reference</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13794003#M97926</link>
      <description>&lt;P&gt;I have a question regarding the &lt;A href="https://docs.flexsim.com/en/25.0/Reference/CodingInFlexSim/CommandReference/Commands.html#getdirbrowse" target="_blank" rel="noopener"&gt;getdirbrowse()&lt;/A&gt; function found in the command reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that the first argument of this function takes a string-type initialdir. I think the usage example also describes obtaining a path, such as documentsdir(), and passing it as an argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I'm currently experiencing in my environment is that when I execute getdirbrowse() with documentdir() as the first argument, as shown in the image below, a Unicode exception occurs in the system console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kuwahara_ryo_0-1756883634305.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1567062i021855037C9B021A/image-dimensions/705x133?v=v2" width="705" height="133" role="button" title="kuwahara_ryo_0-1756883634305.png" alt="kuwahara_ryo_0-1756883634305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the path obtained by documentsdir() contains multibyte characters like Japanese, does this error occur because a string containing multibyte characters is passed to the first argument of getdirbrowse()?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried passing strings like “C:” or strings without multibyte characters as the first argument. However, regardless of the argument value, the path of the folder or file selected in the Explorer window popped up from FlexSim before executing getdirbrowse() appears as the initial search location. While the error doesn't occur if the first argument doesn't contain multibyte characters, the specified directory doesn't open, which feels unnatural.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please explain the specification for the first argument of getdirbrowse(), a safe method to pass a full path containing multibyte characters to initialdir, and how to pop the Explorer window to display the specified directory?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 07:24:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13794003#M97926</guid>
      <dc:creator>kuwahara_ryo</dc:creator>
      <dc:date>2025-09-03T07:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the getdirbrowse() function within the command reference</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13798662#M98036</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17831539"&gt;@kuwahara_ryo&lt;/a&gt;, after some testing, I don't think getdirbrowse can handle multibyte strings. I've notified the dev team to investigate further and fix.&lt;/P&gt;
&lt;P&gt;Thank you for bringing this to our attention!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 17:02:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13798662#M98036</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2025-09-05T17:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the getdirbrowse() function within the command reference</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13802617#M98063</link>
      <description>&lt;P&gt;Mr &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15943040"&gt;@kavika_faleumu&lt;/a&gt;,&amp;nbsp; thank you for sharing this issue with the development team.&lt;BR /&gt;At present, I have implemented a workaround for the first argument using the cdir() function to avoid multibyte characters. I would appreciate if you could inform us again once the multibyte error has been fixed.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 09:44:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/regarding-the-getdirbrowse-function-within-the-command-reference/m-p/13802617#M98063</guid>
      <dc:creator>kuwahara_ryo</dc:creator>
      <dc:date>2025-09-09T09:44:17Z</dc:date>
    </item>
  </channel>
</rss>

