<?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: Unable to get Root files and folder in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69904#M22509</link>
    <description>If you want to use Powershell then this would be the command to get all the files in the folder recursively&lt;BR /&gt;&lt;BR /&gt;Get-ChildItem -Recurse "C:\myfolder" | Where { ! $_.PSIsContainer } | Select Name,FullName&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Jun 2022 01:15:00 GMT</pubDate>
    <dc:creator>shashank.kumar280</dc:creator>
    <dc:date>2022-06-01T01:15:00Z</dc:date>
    <item>
      <title>Unable to get Root files and folder</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69903#M22508</link>
      <description>&lt;SPAN&gt;i have a root folder with multiple sub folders and those sub folders could have more sub folders. I want to run an action and pass it the base folder and get all files that are contained in there (Even in sub folders). The Get files action only gets the files at the first level and to use get folders you'd need to create a huge process which checks every level to see if there are more sub folders and you could potentially miss some files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pooja Verma&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2022 00:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69903#M22508</guid>
      <dc:creator>PoojaVerma</dc:creator>
      <dc:date>2022-06-01T00:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to get Root files and folder</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69904#M22509</link>
      <description>If you want to use Powershell then this would be the command to get all the files in the folder recursively&lt;BR /&gt;&lt;BR /&gt;Get-ChildItem -Recurse "C:\myfolder" | Where { ! $_.PSIsContainer } | Select Name,FullName&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2022 01:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69904#M22509</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-06-01T01:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to get Root files and folder</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69905#M22510</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e5e95175-cc36-449e-a5ee-b3f2e9b74a85" data-tag-text="@Pooja Verma" href="https://community.blueprism.com/network/profile?UserKey=e5e95175-cc36-449e-a5ee-b3f2e9b74a85" data-itemmentionkey="5b15dce2-06c3-430b-809d-21db246fbc26"&gt;@Pooja Verma&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are using the VBO "Utility - File Management" with the Action "Get Files"​, you can edit a little bit the code to achieve this.&lt;BR /&gt;&lt;BR /&gt;In the line 34, change the line with this code:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet" tabindex="0"&gt;&lt;CODE&gt;aFiles = oDirectory.GetFiles(sPattern.Trim, SearchOption.AllDirectories)​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;With the argument "SearchOption.AllDirectories" you will get all the files in all subdirectories from the root folder.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you!&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2022 06:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-get-Root-files-and-folder/m-p/69905#M22510</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-06-01T06:31:00Z</dc:date>
    </item>
  </channel>
</rss>

