<?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 how to remove a directory with sub-directory? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263244#M44507</link>
    <description>Dear VMS Users,&lt;BR /&gt;&lt;BR /&gt;May I know how to remove a directory with sub-directories?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;YE LIU</description>
    <pubDate>Thu, 04 Sep 2008 18:14:55 GMT</pubDate>
    <dc:creator>YE LIU_1</dc:creator>
    <dc:date>2008-09-04T18:14:55Z</dc:date>
    <item>
      <title>how to remove a directory with sub-directory?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263244#M44507</link>
      <description>Dear VMS Users,&lt;BR /&gt;&lt;BR /&gt;May I know how to remove a directory with sub-directories?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;YE LIU</description>
      <pubDate>Thu, 04 Sep 2008 18:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263244#M44507</guid>
      <dc:creator>YE LIU_1</dc:creator>
      <dc:date>2008-09-04T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a directory with sub-directory?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263245#M44508</link>
      <description>&lt;BR /&gt;Be sure to download and check out DFU: &lt;A href="http://www.digiater.nl/dfu" target="_blank"&gt;http://www.digiater.nl/dfu&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It has a DELETE/DIRECTORY/TREE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Google will find you hints.&lt;BR /&gt;&lt;BR /&gt;Here is my approach...&lt;BR /&gt;&lt;BR /&gt;First, tehre are two problems.&lt;BR /&gt;1) directories must be empty to be deleted.&lt;BR /&gt;2) directories, by default, are protected against delete (which I disagree with, but that's how it is).&lt;BR /&gt;&lt;BR /&gt;So I do this:&lt;BR /&gt;&lt;BR /&gt;$SET PROT [xyz...]*.DIR ! set default which allows delete.&lt;BR /&gt;$DELETE [xyz...]*.*.*  ! Gives warnings&lt;BR /&gt;repeat a few times.&lt;BR /&gt;&lt;BR /&gt;You can also type $DELETE [xyz...]*.*;*,;,;,;,;,;&lt;BR /&gt;&lt;BR /&gt;The ",;" are minimal file specs to post deleted the directories.&lt;BR /&gt;&lt;BR /&gt;Enjoy...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Sep 2008 19:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263245#M44508</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-09-04T19:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove a directory with sub-directory?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263246#M44509</link>
      <description>Hi,&lt;BR /&gt;Also there is deltree, which is freeware. Look on the freeware disk applicable to your OS version.&lt;BR /&gt;Then:&lt;BR /&gt;&lt;BR /&gt;$ set default [directory tree to delete]&lt;BR /&gt;$ deltree []&lt;BR /&gt;&lt;BR /&gt;But, of course, be warned it does what it says. Oh, you will also need the relevant privileges to delete as well (if applicable).&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 04 Sep 2008 21:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-remove-a-directory-with-sub-directory/m-p/4263246#M44509</guid>
      <dc:creator>MarkOfAus</dc:creator>
      <dc:date>2008-09-04T21:21:13Z</dc:date>
    </item>
  </channel>
</rss>

