<?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: How do I search for a keyword in a.sas file using microsoft explorer windows 10 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361413#M85226</link>
    <description>&lt;P&gt;If your on a fairly updated version of Windows 10 and also have familiarity with Linux/UNIX tools or prefer them like I do, then you can take advantage of the Windows 10 feature to run &lt;A href="https://msdn.microsoft.com/en-us/commandline/wsl/install_guide" target="_self"&gt;Bash on Ubuntu on Windows 10&lt;/A&gt;. &amp;nbsp;I played around with this on my personal PC and thought it was quite handy, unfortunately my work PC isn't on Win10 yet so I'm using &lt;A href="https://cygwin.com/" target="_self"&gt;CygWin&lt;/A&gt;, which also lets me use tools like grep to search for keywords. &amp;nbsp;If you're not a Linux person, this may not be helpful, but I thought I'd pass it along.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 21:58:14 GMT</pubDate>
    <dc:creator>Sven111</dc:creator>
    <dc:date>2017-05-24T21:58:14Z</dc:date>
    <item>
      <title>How do I search for a keyword in a.sas file using microsoft file explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361292#M85183</link>
      <description>&lt;P&gt;How do I search for a keyword in a.sas file using microsoft file explorer using windows 10?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem:&amp;nbsp; I need to find all SAS programs with a specific&amp;nbsp;keyword in them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am trying to search a SAS program (files with a .sas extension) using windows explorer in windows 10.&amp;nbsp; Windows file explorer can't find them.&amp;nbsp; This has been the case in many versions of windows for as long as I can remember.&amp;nbsp; The solution used to be to "Add a registry key" that made Microsoft play nice with SAS.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can software be added to the SAS install&amp;nbsp;process to do this for all SAS users on the network?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361292#M85183</guid>
      <dc:creator>DrSAS</dc:creator>
      <dc:date>2018-02-09T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361294#M85184</link>
      <description>&lt;P&gt;I suspect that it is the same setting the let's OUTLOOK preview SAS programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Allow-OUTLOOK-to-preview-attached-SAS-programs/m-p/328246#M73283" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Allow-OUTLOOK-to-preview-attached-SAS-programs/m-p/328246#M73283&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 18:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361294#M85184</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-05-24T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361366#M85204</link>
      <description>&lt;P&gt;Don't know about Windows 10 but in earlier versions of Windows Explorer go to Tools&amp;gt;Folder Options&amp;gt;Search and look for an option like "Always search file names and contents" and set that option . Then the Apply button. It seems if this is done at the "Computer" level it propigates to the system.&lt;/P&gt;
&lt;P&gt;And when it says "may take minutes" they aren't joking. So if you don't know which folder to start in and are searching with "Include subfolders" option it can take a long time to search every file of every subfolder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR make sure that every single folder is always "indexed".&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 19:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361366#M85204</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-24T19:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361413#M85226</link>
      <description>&lt;P&gt;If your on a fairly updated version of Windows 10 and also have familiarity with Linux/UNIX tools or prefer them like I do, then you can take advantage of the Windows 10 feature to run &lt;A href="https://msdn.microsoft.com/en-us/commandline/wsl/install_guide" target="_self"&gt;Bash on Ubuntu on Windows 10&lt;/A&gt;. &amp;nbsp;I played around with this on my personal PC and thought it was quite handy, unfortunately my work PC isn't on Win10 yet so I'm using &lt;A href="https://cygwin.com/" target="_self"&gt;CygWin&lt;/A&gt;, which also lets me use tools like grep to search for keywords. &amp;nbsp;If you're not a Linux person, this may not be helpful, but I thought I'd pass it along.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 21:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361413#M85226</guid>
      <dc:creator>Sven111</dc:creator>
      <dc:date>2017-05-24T21:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361457#M85250</link>
      <description>&lt;P&gt;Microsoft, in their wisdom, created the Advanced Query Syntax (curse them!) to look for files&amp;nbsp;having certain&amp;nbsp;characteristics or contents, rather than XP's unreliable search menu.&lt;/P&gt;
&lt;P&gt;Sadly it is even worse and doesn't work too well; but that's all you have to use in the Windows explorer.&lt;/P&gt;
&lt;P&gt;Look for AQS tutorials online.&lt;/P&gt;
&lt;P&gt;A much better option is to search using a SAS program if you can. Or bash. Or any other program. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 01:58:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/361457#M85250</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-05-25T01:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435848#M108310</link>
      <description>&lt;P&gt;Thanks for your effort but This is only similar to the solution but not the answer...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use Windows Explorer to find files containing specific text, the results may not include files of all types. In fact, quite a few file types will be omitted. Microsoft created this situation deliberately, to avoid having you find "irrelevant" files and SAS was left out from this list. Updating the Windows Registry will rectify this and allow Windows to search the file types you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Search function relies on an internal filter to find words; file types that don't have a defined &lt;STRONG&gt;HKEY_CLASSES_ROOT&lt;/STRONG&gt; filter won't be searched. If you find that certain file types don't appear in the search results, you can try assigning the plain-text filter to those types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To have Windows Explorer search files of a certain file extension in this case SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;launch Regedit from the Start menu's Run dialog.&lt;/LI&gt;&lt;LI&gt;navigate to the key &lt;STRONG&gt;HKEY_CLASSES_ROOT&lt;/STRONG&gt;\.??? (where .??? is the extension you want searched).&lt;OL&gt;&lt;LI&gt;If you don't find a subkey named &lt;STRONG&gt;PersistentHandler&lt;/STRONG&gt;, create one.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;double-click on the value "(Default)" for that subkey and set its data to &lt;STRONG&gt;{5e941d80-bf96-11cd-b579-08002b30bfeb}&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Administrator rights are needed to perform this.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435848#M108310</guid>
      <dc:creator>DrSAS</dc:creator>
      <dc:date>2018-02-09T20:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft file explorer windows 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435850#M108311</link>
      <description>&lt;P&gt;Thanks for your effort but you have windows &lt;STRONG&gt;file explorer&lt;/STRONG&gt; confused with &lt;STRONG&gt;internet explorer&lt;/STRONG&gt;.&amp;nbsp; This solution involves doing a &lt;STRONG&gt;regedit&lt;/STRONG&gt; and finding the&lt;STRONG&gt; .sas&lt;/STRONG&gt; extension under the &lt;STRONG&gt;HKEY_CLASSES_ROOT&lt;/STRONG&gt; and setting it to&lt;STRONG&gt; {5e941d80-bf96-11cd-b579-08002b30bfeb}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:54:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435850#M108311</guid>
      <dc:creator>DrSAS</dc:creator>
      <dc:date>2018-02-09T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for a keyword in a.sas file using microsoft file explorer - windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435861#M108314</link>
      <description>&lt;P&gt;To&amp;nbsp;use&amp;nbsp;Windows File Explorer to find keywords in .sas&amp;nbsp;files containing specific text, you have to modify the&amp;nbsp;windows registry because&amp;nbsp;the results may not include a search&amp;nbsp;of all files. In fact, quite a few file types will be omitted. Microsoft created this situation deliberately, to avoid having you find "irrelevant" files and SAS was left out from this list. Updating the Windows Registry will rectify this and allow Windows to search the file types you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Search&amp;nbsp;in windows file explorer&amp;nbsp;relies on an internal filter to find words; file types that don't have a defined &lt;STRONG&gt;HKEY_CLASSES_ROOT&lt;/STRONG&gt; filter won't be searched. If you find that certain file types don't appear in the search results, you can try assigning the plain-text filter to those types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To have Windows File Explorer search files of a certain file extension in this case SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;launch &lt;STRONG&gt;Regedit&lt;/STRONG&gt; from the Start menu's Run dialog.&lt;/LI&gt;&lt;LI&gt;navigate to the key &lt;STRONG&gt;HKEY_CLASSES_ROOT&lt;/STRONG&gt;\&lt;STRONG&gt;.SAS&lt;/STRONG&gt; .&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;If you don't find a subkey named &lt;STRONG&gt;PersistentHandler&lt;/STRONG&gt;, create one.&lt;/LI&gt;&lt;/OL&gt;&lt;LI&gt;double-click on the value "(Default)" for that subkey and set its data to &lt;STRONG&gt;{5e941d80-bf96-11cd-b579-08002b30bfeb}&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Administrator rights are needed to perform this.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 21:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-search-for-a-keyword-in-a-sas-file-using-microsoft-file/m-p/435861#M108314</guid>
      <dc:creator>DrSAS</dc:creator>
      <dc:date>2018-02-09T21:13:37Z</dc:date>
    </item>
  </channel>
</rss>

