<?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: Macro to create the same subdirectory at the bottom of each branch of a directory in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-create-the-same-subdirectory-at-the-bottom-of-each/m-p/586558#M167436</link>
    <description>&lt;P&gt;Have you seen this post?&lt;/P&gt;
&lt;P&gt;It doesn't do the nested loops but I'm 99% certain there's code for that on here already.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37814"&gt;@Walternate&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to create a lot of subfolders in a directory. They will always be the final folder in a branch of the directory and always have the same name, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Folder1/Folder2/test&lt;/P&gt;
&lt;P&gt;Folder1/Folder3/test&lt;/P&gt;
&lt;P&gt;Folder1/Folder4/Folder5/test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking there must be a way to automate this in SAS. I would know how to set it up by hand or even providing the beginning of the path and just automating the addition of test, but I was thinking there is probably a way that I can do it using just the umbrella folder (Folder1) and let SAS figure out the rest. Am I correct in thinking this? What is the best way to set this up so it's as automated as possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 21:18:59 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-09-05T21:18:59Z</dc:date>
    <item>
      <title>Macro to create the same subdirectory at the bottom of each branch of a directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-create-the-same-subdirectory-at-the-bottom-of-each/m-p/586550#M167435</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a lot of subfolders in a directory. They will always be the final folder in a branch of the directory and always have the same name, eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folder1/Folder2/test&lt;/P&gt;&lt;P&gt;Folder1/Folder3/test&lt;/P&gt;&lt;P&gt;Folder1/Folder4/Folder5/test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking there must be a way to automate this in SAS. I would know how to set it up by hand or even providing the beginning of the path and just automating the addition of test, but I was thinking there is probably a way that I can do it using just the umbrella folder (Folder1) and let SAS figure out the rest. Am I correct in thinking this? What is the best way to set this up so it's as automated as possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 20:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-create-the-same-subdirectory-at-the-bottom-of-each/m-p/586550#M167435</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2019-09-05T20:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to create the same subdirectory at the bottom of each branch of a directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-create-the-same-subdirectory-at-the-bottom-of-each/m-p/586558#M167436</link>
      <description>&lt;P&gt;Have you seen this post?&lt;/P&gt;
&lt;P&gt;It doesn't do the nested loops but I'm 99% certain there's code for that on here already.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37814"&gt;@Walternate&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to create a lot of subfolders in a directory. They will always be the final folder in a branch of the directory and always have the same name, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Folder1/Folder2/test&lt;/P&gt;
&lt;P&gt;Folder1/Folder3/test&lt;/P&gt;
&lt;P&gt;Folder1/Folder4/Folder5/test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking there must be a way to automate this in SAS. I would know how to set it up by hand or even providing the beginning of the path and just automating the addition of test, but I was thinking there is probably a way that I can do it using just the umbrella folder (Folder1) and let SAS figure out the rest. Am I correct in thinking this? What is the best way to set this up so it's as automated as possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 21:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-create-the-same-subdirectory-at-the-bottom-of-each/m-p/586558#M167436</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T21:18:59Z</dc:date>
    </item>
  </channel>
</rss>

