<?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>MQX Software SolutionsのトピックHow do I read the file count on a mounted USB flash drive?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701397#M17544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running MQX4.2 and have built USB and MFS into my project.&amp;nbsp; &amp;nbsp;A USB drive is interfaced OK and MFS installed.&amp;nbsp; &amp;nbsp;I can read using 'read' a file so I am confident MFS is OK.&amp;nbsp; &amp;nbsp;Is there a short way of reading the count of files in the present directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2017 13:15:56 GMT</pubDate>
    <dc:creator>ashbc1</dc:creator>
    <dc:date>2017-10-09T13:15:56Z</dc:date>
    <item>
      <title>How do I read the file count on a mounted USB flash drive?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701397#M17544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running MQX4.2 and have built USB and MFS into my project.&amp;nbsp; &amp;nbsp;A USB drive is interfaced OK and MFS installed.&amp;nbsp; &amp;nbsp;I can read using 'read' a file so I am confident MFS is OK.&amp;nbsp; &amp;nbsp;Is there a short way of reading the count of files in the present directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 13:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701397#M17544</guid>
      <dc:creator>ashbc1</dc:creator>
      <dc:date>2017-10-09T13:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read the file count on a mounted USB flash drive?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701398#M17545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you try IO_IOCTL_FIND_FIRST_FILE,IO_IOCTL_FIND_NEXT_FILE commands to search on the disk.&amp;nbsp; There is an example to list all files and sub directories in a directory. You can count the files in a specified directory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30365i0CDA9032BCC5C2FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the MQX_MFS_User_Guide.pdf, section 3.8.1.8 for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 04:46:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701398#M17545</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-10-13T04:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read the file count on a mounted USB flash drive?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701399#M17546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; That's what I did in the end.&amp;nbsp; &amp;nbsp;I was hoping there was a simple command as this is rather long winded just to get a file count.&amp;nbsp; Works though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 07:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701399#M17546</guid>
      <dc:creator>ashbc1</dc:creator>
      <dc:date>2017-10-13T07:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read the file count on a mounted USB flash drive?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701400#M17547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you it is long, but MFS does not provide a simple command as your expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 07:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-do-I-read-the-file-count-on-a-mounted-USB-flash-drive/m-p/701400#M17547</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-10-13T07:34:11Z</dc:date>
    </item>
  </channel>
</rss>

