<?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: Delete files named like *.*.* in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4102000#M13629</link>
    <description>Jan,&lt;BR /&gt;Yes, that's a good idea. Thanks!</description>
    <pubDate>Thu, 15 Nov 2007 07:57:26 GMT</pubDate>
    <dc:creator>Z.K.</dc:creator>
    <dc:date>2007-11-15T07:57:26Z</dc:date>
    <item>
      <title>Delete files named like *.*.*</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101996#M13625</link>
      <description>Hi all,&lt;BR /&gt;We got some files which have more than one dot in the filenames, like "*^.*.*". How can we delete this kind of files?&lt;BR /&gt;Our systerm-"OpenVMS v8.3"</description>
      <pubDate>Tue, 13 Nov 2007 20:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101996#M13625</guid>
      <dc:creator>Z.K.</dc:creator>
      <dc:date>2007-11-13T20:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Delete files named like *.*.*</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101997#M13626</link>
      <description>Z.K,&lt;BR /&gt;&lt;BR /&gt;  Dumb answer - with the DELETE command!&lt;BR /&gt;&lt;BR /&gt;  Seriously, you need to construct a filespec for DELETE which matches your files. With extra dots in the filename, you will need to escape those that aren't part of the RMS syntax using the circumflex character (as you have done in your question).&lt;BR /&gt;&lt;BR /&gt;  The tricky part will be working out which dot(s) are characters the NAME field of the filespec, which are characters in the TYPE field and which ONE is the delimiter between NAME and TYPE. Escape all the dots except the one which is syntactic.&lt;BR /&gt;&lt;BR /&gt;  You'll also need to set your PARSE_STYLE to EXTENDED (SET PROCESS/PARSE=EXTEND) to enable extended filename parsing.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;$ SET PROCESS/CASE=SENSITIVE/PARSE=EXTENDED&lt;BR /&gt;$ DELETE MY^.file.Type^.with^.dots;*&lt;BR /&gt;&lt;BR /&gt;In this case the syntactic dot is between the words "file" and "Type".&lt;BR /&gt;&lt;BR /&gt;First few attempts, I'd recommend using DELETE/CONFIRM so you can check the filenames DELETE has matched before they get deleted.&lt;BR /&gt;&lt;BR /&gt;Note that the wild card "*" will still match substrings that include dots and other special characters, so without setting parse style or case sensitivity, the file above could have been deleted with:&lt;BR /&gt;&lt;BR /&gt;$ DELETE M*.T*;*</description>
      <pubDate>Tue, 13 Nov 2007 21:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101997#M13626</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-11-13T21:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete files named like *.*.*</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101998#M13627</link>
      <description>Thanks John!</description>
      <pubDate>Tue, 13 Nov 2007 23:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101998#M13627</guid>
      <dc:creator>Z.K.</dc:creator>
      <dc:date>2007-11-13T23:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Delete files named like *.*.*</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101999#M13628</link>
      <description>Z.K.&lt;BR /&gt;&lt;BR /&gt;If you need procedures that DELETE several/many of those files (as your * wildcrd suggests) you can write a little (eg DCL) program, which first does a scan for matching files  (DCL:  F$SEARCH(filespecs)&lt;BR /&gt;The answers you get from repetitive calls, ARE the correct syntax; now feed that into DELETE.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 14 Nov 2007 04:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4101999#M13628</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-11-14T04:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delete files named like *.*.*</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4102000#M13629</link>
      <description>Jan,&lt;BR /&gt;Yes, that's a good idea. Thanks!</description>
      <pubDate>Thu, 15 Nov 2007 07:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/delete-files-named-like/m-p/4102000#M13629</guid>
      <dc:creator>Z.K.</dc:creator>
      <dc:date>2007-11-15T07:57:26Z</dc:date>
    </item>
  </channel>
</rss>

