Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: Efficient String searching

  1. #1
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5

    Efficient String searching

    I wanted to do some grep type string searching, supporting unicode and recursive directories. I was thinking there might be a way with say Notepad++ and a regex regular expression, but thought it might be a bit cumbersome. Thought the python based 'pss' plugin might have capabilities as well. There should be some good options to explore.

    Instead decided to get a fresh copy of Sysinternals Strings to test out syntax.

    https://docs.microsoft.com/en-us/sysinternals/downloads/strings

    Reversers:
    What output does this command give executed from the main strings file folder?

    strings64.exe * | findstr /i "the" > the.txt

  2. #2
    Quote Originally Posted by Kayaker View Post
    Reversers:
    What output does this command give executed from the main strings file folder?
    strings64.exe * | findstr /i "the" > the.txt
    Is this a trick question?

    It states right on the 'string' page to which you linked: ***To search one or more files for the presence of a particular string using strings use a command like this:

    strings * | findstr /i TextToSearchFor ***

    I am predicting in advanced that I'm going to get a text file full of 'the's. But, I'd be wrong. The text file had no 'the's even thought eula.txt has at least 20 of them.

    Back in a bit, need to do some research.

  3. #3
    Ok...my impatience got the better of me. It's a very slow program and I took the blinking cursor in the cmd window to mean the strings app had stopped working. I should have noticed that the 'the.txt' file was getting larger by the moment and eventually reached 50 megs in size. I did a ^C to stop strings64 and had a look inside the text file. For some reason it was caught in an endless loop. It searched the eula.txt file, then strings.exe and strings64.exe then repeated the search.

    It's very odd how it gets caught in this endless loop. I have another grep-like app that will search for 'the' while providing the text where it is found. However, like the strings app, it repeats a lot of the data over and over. Could it have something to do with the virtualization of folders by Microsoft? In W7 they have folders which are only links to other folders.

    Hope this sample is not too much to post, it's a small fraction of the 50 meg text file. You can delete it if impractical. You can see it searches Eula.txt first, then strings.exe followed by strings64.exe. Then it begins to repeat the search. However the second sample shows something odd. It seems to be returning only the path to the txt file for a while then it returns results for strings64.

    I must admit to having used another option for findstr as well as the one you provided. You can add a /C:"the" to find string to specifiy the string. However, I did try it both ways, resulting in a whopping 50 meg text file. At least my grep-type searcher shut itself down after one iteration, even though it also repeated the path many times.

    ****

    Code:
    C:\Users\mrbean\Downloads\Strings\Eula.txt: These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you. Please read them. They apply to the software you are downloading from technet.microsoft.com/sysinternals, which includes the media on which you received it, if any. The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\Eula.txt: for this software, unless other terms accompany those items. If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is licensed, not sold. This agreement only gives you some rights to use the software. Sysinternals reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\Eula.txt:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting .
    C:\Users\mrbean\Downloads\Strings\Eula.txt: This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: United States . If you acquired the software in the United States , Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Outside the United States . If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is licensed "as-is." You bear the risk of using it. Sysinternals gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: You can recover from sysinternals and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: It also applies even if Sysinternals knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Please note: As this software is distributed in Quebec , Canada , some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\sb120\sa120\b0\fs19 These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you.  Please read them.  They apply to the software you are downloading from Systinternals.com, which includes the media on which you received it, if any.  The terms also apply to any Sysinternals\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\sb120\sa120 for this software, unless other terms accompany those items.  If so, those terms apply.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.  IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\brdrt\brdrs\brdrw10\brsp20 \sb120\sa120 If you comply with these license terms, you have the rights below.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\fs20 1.\tab\fs19 INSTALLATION AND USE RIGHTS.  \b0 You may install and use any number of copies of the software on your devices.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 2.\tab\fs19 Scope of License\caps0 .\b0   The software is licensed, not sold. This agreement only gives you some rights to use the software.  Sysinternals reserves all other rights.  Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.  In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.    You may not\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\b0\'b7\tab work around any technical limitations in the binary versions of the software;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab publish the software for others to copy;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab rent, lease or lend the software;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab transfer the software or this agreement to any third party; or\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab use the software for commercial software hosting services.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\b\fs20 3.\tab SENSITIVE INFORMATION. \b0  Please be aware that, similar to other debug tools that capture \ldblquote process state\rdblquote  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: 5. \tab\fs19 DOCUMENTATION.\b0   Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 6.\tab\fs19 Export Restrictions\caps0 .\b0   The software is subject to United States export laws and regulations.  You must comply with all domestic and international export laws and regulations that apply to the software.  These laws include restrictions on destinations, end users and end use.  For additional information, see {\cf1\ul{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\cf1\ul\f0\fs19  <{{\field{\*\fldinst{HYPERLINK "http://www.microsoft.com/exporting"}}{\fldrslt{http://www.microsoft.com/exporting}}}}\f0\fs19 >\cf0\ulnone .\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 8.\tab\fs19 Entire Agreement.\b0\caps0   This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\cf0\fs20 a.\tab\fs19 United States.\b0   If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.  The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\fs20 b.\tab\fs19 Outside the United States.\b0   If you acquired the software in any other country, the laws of that country apply.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\caps\fs20 10.\tab\fs19 Legal Effect.\b0\caps0   This agreement describes certain legal rights.  You may have other rights under the laws of your country.  You may also have rights with respect to the party from whom you acquired the software.  This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \fs20 11.\tab\fs19 Disclaimer of Warranty.\caps0    \caps The software is licensed "as - is."  You bear the risk of using it.  SYSINTERNALS gives no express warranties, guarantees or conditions.  You may have additional consumer rights under your local laws which this agreement cannot change.  To the extent permitted under your local laws, SYSINTERNALS excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-360\li360\sb120\sa120\tx360\fs20 12.\tab\fs19 Limitation on and Exclusion of Remedies and Damages.  You can recover from SYSINTERNALS and its suppliers only direct damages up to U.S. $5.00.  You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\'b7\tab anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\li360\sb120\sa120 It also applies even if Sysinternals knew or should have known about the possibility of the damages.  The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\b Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: These license terms are an agreement between Sysinternals(a wholly owned subsidiary of Microsoft Corporation) and you.Please read them.They apply to the software you are downloading from technet.microsoft.com / sysinternals, which includes the media on which you received it, if any.The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\strings.exe: for this software, unless other terms accompany those items.If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\strings.exe: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\strings.exe: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is licensed, not sold.This agreement only gives you some rights to use the software.Sysinternals reserves all other rights.Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.You may not
    C:\Users\mrbean\Downloads\Strings\strings.exe: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\strings.exe: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\strings.exe:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information(such as usernames, passwords, paths to files accessed, and paths to registry accessed).By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is subject to United States export laws and regulations.You must comply with all domestic and international export laws and regulations that apply to the software.These laws include restrictions on destinations, end users and end use.For additional information, see www.microsoft.com / exporting .
    C:\Users\mrbean\Downloads\Strings\strings.exe: This agreement, and the terms for supplements, updates, Internet - based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\strings.exe: United States.If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Outside the United States.If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This agreement describes certain legal rights.You may have other rights under the laws of your country.You may also have rights with respect to the party from whom you acquired the software.This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is licensed "as - is." You bear the risk of using it.Sysinternals gives no express warranties, guarantees or conditions.You may have additional consumer rights under your local laws which this agreement cannot change.To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non - infringement.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You can recover from sysinternals and its suppliers only direct damages up to U.S.$5.00.You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\strings.exe: * anything related to the software, services, content(including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\strings.exe: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\strings.exe: It also applies even if Sysinternals knew or should have known about the possibility of the damages.The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Please note : As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You can also use the /accepteula command-line switch to accept the EULA.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This is the first run of this program. You must accept EULA to continue.
    C:\Users\mrbean\Downloads\Strings\strings.exe:        Do not display the startup banner and copyright message.
    C:\Users\mrbean\Downloads\Strings\strings.exe: - Attempt to initialize the CRT more than once.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This indicates a bug in your application. It is most likely the result of calling an MSIL-compiled (/clr) function from a native constructor or from DllMain.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\sb120\sa120\b0\fs19 These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you.  Please read them.  They apply to the software you are downloading from Systinternals.com, which includes the media on which you received it, if any.  The terms also apply to any Sysinternals\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\sb120\sa120 for this software, unless other terms accompany those items.  If so, those terms apply.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.  IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\brdrt\brdrs\brdrw10\brsp20 \sb120\sa120 If you comply with these license terms, you have the rights below.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\fs20 1.\tab\fs19 INSTALLATION AND USE RIGHTS.  \b0 You may install and use any number of copies of the software on your devices.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 2.\tab\fs19 Scope of License\caps0 .\b0   The software is licensed, not sold. This agreement only gives you some rights to use the software.  Sysinternals reserves all other rights.  Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.  In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.    You may not\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\b0\'b7\tab work around any technical limitations in the binary versions of the software;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab publish the software for others to copy;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab rent, lease or lend the software;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab transfer the software or this agreement to any third party; or\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab use the software for commercial software hosting services.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\b\fs20 3.\tab SENSITIVE INFORMATION. \b0  Please be aware that, similar to other debug tools that capture \ldblquote process state\rdblquote  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: 5. \tab\fs19 DOCUMENTATION.\b0   Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 6.\tab\fs19 Export Restrictions\caps0 .\b0   The software is subject to United States export laws and regulations.  You must comply with all domestic and international export laws and regulations that apply to the software.  These laws include restrictions on destinations, end users and end use.  For additional information, see {\cf1\ul{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\cf1\ul\f0\fs19  <{{\field{\*\fldinst{HYPERLINK "http://www.microsoft.com/exporting"}}{\fldrslt{http://www.microsoft.com/exporting}}}}\f0\fs19 >\cf0\ulnone .\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 8.\tab\fs19 Entire Agreement.\b0\caps0   This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\cf0\fs20 a.\tab\fs19 United States.\b0   If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.  The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\fs20 b.\tab\fs19 Outside the United States.\b0   If you acquired the software in any other country, the laws of that country apply.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\caps\fs20 10.\tab\fs19 Legal Effect.\b0\caps0   This agreement describes certain legal rights.  You may have other rights under the laws of your country.  You may also have rights with respect to the party from whom you acquired the software.  This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \fs20 11.\tab\fs19 Disclaimer of Warranty.\caps0    \caps The software is licensed "as - is."  You bear the risk of using it.  SYSINTERNALS gives no express warranties, guarantees or conditions.  You may have additional consumer rights under your local laws which this agreement cannot change.  To the extent permitted under your local laws, SYSINTERNALS excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-360\li360\sb120\sa120\tx360\fs20 12.\tab\fs19 Limitation on and Exclusion of Remedies and Damages.  You can recover from SYSINTERNALS and its suppliers only direct damages up to U.S. $5.00.  You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\'b7\tab anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\li360\sb120\sa120 It also applies even if Sysinternals knew or should have known about the possibility of the damages.  The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\b Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: These license terms are an agreement between Sysinternals(a wholly owned subsidiary of Microsoft Corporation) and you.Please read them.They apply to the software you are downloading from technet.microsoft.com / sysinternals, which includes the media on which you received it, if any.The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\strings64.exe: for this software, unless other terms accompany those items.If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is licensed, not sold.This agreement only gives you some rights to use the software.Sysinternals reserves all other rights.Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.You may not
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\strings64.exe:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information(such as usernames, passwords, paths to files accessed, and paths to registry accessed).By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is subject to United States export laws and regulations.You must comply with all domestic and international export laws and regulations that apply to the software.These laws include restrictions on destinations, end users and end use.For additional information, see www.microsoft.com / exporting .
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This agreement, and the terms for supplements, updates, Internet - based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: United States.If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Outside the United States.If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This agreement describes certain legal rights.You may have other rights under the laws of your country.You may also have rights with respect to the party from whom you acquired the software.This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is licensed "as - is." You bear the risk of using it.Sysinternals gives no express warranties, guarantees or conditions.You may have additional consumer rights under your local laws which this agreement cannot change.To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non - infringement.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You can recover from sysinternals and its suppliers only direct damages up to U.S.$5.00.You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * anything related to the software, services, content(including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: It also applies even if Sysinternals knew or should have known about the possibility of the damages.The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Please note : As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You can also use the /accepteula command-line switch to accept the EULA.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This is the first run of this program. You must accept EULA to continue.
    C:\Users\mrbean\Downloads\Strings\strings64.exe:        Do not display the startup banner and copyright message.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: - Attempt to initialize the CRT more than once.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This indicates a bug in your application. It is most likely the result of calling an MSIL-compiled (/clr) function from a native constructor or from DllMain.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you. Please read them. They apply to the software you are downloading from technet.microsoft.com/sysinternals, which includes the media on which you received it, if any. The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: for this software, unless other terms accompany those items. If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is licensed, not sold. This agreement only gives you some rights to use the software. Sysinternals reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: * reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: * make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: * publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\Eula.txt: * rent, lease or lend the software;
    ********

    Code:
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\strings64.exe: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\strings64.exe: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is licensed, not sold.This agreement only gives you some rights to use the software.Sysinternals reserves all other rights.Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.You may not
    C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\Downloads\Strings\the.txt: C:\Users\mrbean\D
    Last edited by WaxfordSqueers; January 17th, 2020 at 16:00.

  4. #4
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5
    OK, try this,

    Make several copies of a test .txt file with the word "recursive" in it, and run the command

    strings64.exe *.txt | findstr /i "recursive" > recursive.txt

    The behaviour is different. I have a suspicion, but I think there may be an explanation in how the os system operates.

    Also, could there be a geometric series describing the output from the first case?

  5. #5
    Here's an interesting tip I got from the following link in which a Microsoft designer is talking about findstr. Inserting findstr /sip, rather than just /i, seems to solve the problem. Seems the /s acts to confine the search to the current directory and the /p prevents unwanted, non-Ascii characters from appearing.

    https://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-94-Sysinternals-Strings-FindStr-pde-ssz?term=sysinternals&lang-en=true

    Now I get a neat and concise printout.

    Code:
    C:\Users\mrbean\Downloads\Strings\Eula.txt: These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you. Please read them. They apply to the software you are downloading from technet.microsoft.com/sysinternals, which includes the media on which you received it, if any. The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\Eula.txt: for this software, unless other terms accompany those items. If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is licensed, not sold. This agreement only gives you some rights to use the software. Sysinternals reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\Eula.txt:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting .
    C:\Users\mrbean\Downloads\Strings\Eula.txt: This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: United States . If you acquired the software in the United States , Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Outside the United States . If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: The software is licensed "as-is." You bear the risk of using it. Sysinternals gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: You can recover from sysinternals and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\Eula.txt: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: It also applies even if Sysinternals knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\Eula.txt: Please note: As this software is distributed in Quebec , Canada , some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\sb120\sa120\b0\fs19 These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you.  Please read them.  They apply to the software you are downloading from Systinternals.com, which includes the media on which you received it, if any.  The terms also apply to any Sysinternals\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\sb120\sa120 for this software, unless other terms accompany those items.  If so, those terms apply.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.  IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\brdrt\brdrs\brdrw10\brsp20 \sb120\sa120 If you comply with these license terms, you have the rights below.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\fs20 1.\tab\fs19 INSTALLATION AND USE RIGHTS.  \b0 You may install and use any number of copies of the software on your devices.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 2.\tab\fs19 Scope of License\caps0 .\b0   The software is licensed, not sold. This agreement only gives you some rights to use the software.  Sysinternals reserves all other rights.  Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.  In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.    You may not\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\b0\'b7\tab work around any technical limitations in the binary versions of the software;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab publish the software for others to copy;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab rent, lease or lend the software;\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab transfer the software or this agreement to any third party; or\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \'b7\tab use the software for commercial software hosting services.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\b\fs20 3.\tab SENSITIVE INFORMATION. \b0  Please be aware that, similar to other debug tools that capture \ldblquote process state\rdblquote  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: 5. \tab\fs19 DOCUMENTATION.\b0   Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 6.\tab\fs19 Export Restrictions\caps0 .\b0   The software is subject to United States export laws and regulations.  You must comply with all domestic and international export laws and regulations that apply to the software.  These laws include restrictions on destinations, end users and end use.  For additional information, see {\cf1\ul{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\cf1\ul\f0\fs19  <{{\field{\*\fldinst{HYPERLINK "http://www.microsoft.com/exporting"}}{\fldrslt{http://www.microsoft.com/exporting}}}}\f0\fs19 >\cf0\ulnone .\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \caps\fs20 8.\tab\fs19 Entire Agreement.\b0\caps0   This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\cf0\fs20 a.\tab\fs19 United States.\b0   If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.  The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\fs20 b.\tab\fs19 Outside the United States.\b0   If you acquired the software in any other country, the laws of that country apply.\b\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-357\li357\sb120\sa120\tx360\caps\fs20 10.\tab\fs19 Legal Effect.\b0\caps0   This agreement describes certain legal rights.  You may have other rights under the laws of your country.  You may also have rights with respect to the party from whom you acquired the software.  This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \fs20 11.\tab\fs19 Disclaimer of Warranty.\caps0    \caps The software is licensed "as - is."  You bear the risk of using it.  SYSINTERNALS gives no express warranties, guarantees or conditions.  You may have additional consumer rights under your local laws which this agreement cannot change.  To the extent permitted under your local laws, SYSINTERNALS excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-360\li360\sb120\sa120\tx360\fs20 12.\tab\fs19 Limitation on and Exclusion of Remedies and Damages.  You can recover from SYSINTERNALS and its suppliers only direct damages up to U.S. $5.00.  You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\tx720\'b7\tab anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\li360\sb120\sa120 It also applies even if Sysinternals knew or should have known about the possibility of the damages.  The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: \pard\b Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par
    C:\Users\mrbean\Downloads\Strings\strings.exe: These license terms are an agreement between Sysinternals(a wholly owned subsidiary of Microsoft Corporation) and you.Please read them.They apply to the software you are downloading from technet.microsoft.com / sysinternals, which includes the media on which you received it, if any.The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\strings.exe: for this software, unless other terms accompany those items.If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\strings.exe: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\strings.exe: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is licensed, not sold.This agreement only gives you some rights to use the software.Sysinternals reserves all other rights.Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.You may not
    C:\Users\mrbean\Downloads\Strings\strings.exe: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\strings.exe: *transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\strings.exe: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\strings.exe:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information(such as usernames, passwords, paths to files accessed, and paths to registry accessed).By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is subject to United States export laws and regulations.You must comply with all domestic and international export laws and regulations that apply to the software.These laws include restrictions on destinations, end users and end use.For additional information, see www.microsoft.com / exporting .
    C:\Users\mrbean\Downloads\Strings\strings.exe: This agreement, and the terms for supplements, updates, Internet - based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\strings.exe: United States.If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Outside the United States.If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This agreement describes certain legal rights.You may have other rights under the laws of your country.You may also have rights with respect to the party from whom you acquired the software.This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\strings.exe: The software is licensed "as - is." You bear the risk of using it.Sysinternals gives no express warranties, guarantees or conditions.You may have additional consumer rights under your local laws which this agreement cannot change.To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non - infringement.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You can recover from sysinternals and its suppliers only direct damages up to U.S.$5.00.You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\strings.exe: * anything related to the software, services, content(including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\strings.exe: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\strings.exe: It also applies even if Sysinternals knew or should have known about the possibility of the damages.The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\strings.exe: Please note : As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings.exe: You can also use the /accepteula command-line switch to accept the EULA.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This is the first run of this program. You must accept EULA to continue.
    C:\Users\mrbean\Downloads\Strings\strings.exe:        Do not display the startup banner and copyright message.
    C:\Users\mrbean\Downloads\Strings\strings.exe: - Attempt to initialize the CRT more than once.
    C:\Users\mrbean\Downloads\Strings\strings.exe: This indicates a bug in your application. It is most likely the result of calling an MSIL-compiled (/clr) function from a native constructor or from DllMain.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\sb120\sa120\b0\fs19 These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you.  Please read them.  They apply to the software you are downloading from Systinternals.com, which includes the media on which you received it, if any.  The terms also apply to any Sysinternals\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\sb120\sa120 for this software, unless other terms accompany those items.  If so, those terms apply.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.  IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\brdrt\brdrs\brdrw10\brsp20 \sb120\sa120 If you comply with these license terms, you have the rights below.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\fs20 1.\tab\fs19 INSTALLATION AND USE RIGHTS.  \b0 You may install and use any number of copies of the software on your devices.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 2.\tab\fs19 Scope of License\caps0 .\b0   The software is licensed, not sold. This agreement only gives you some rights to use the software.  Sysinternals reserves all other rights.  Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.  In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.    You may not\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\b0\'b7\tab work around any technical limitations in the binary versions of the software;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab publish the software for others to copy;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab rent, lease or lend the software;\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab transfer the software or this agreement to any third party; or\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \'b7\tab use the software for commercial software hosting services.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\b\fs20 3.\tab SENSITIVE INFORMATION. \b0  Please be aware that, similar to other debug tools that capture \ldblquote process state\rdblquote  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: 5. \tab\fs19 DOCUMENTATION.\b0   Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 6.\tab\fs19 Export Restrictions\caps0 .\b0   The software is subject to United States export laws and regulations.  You must comply with all domestic and international export laws and regulations that apply to the software.  These laws include restrictions on destinations, end users and end use.  For additional information, see {\cf1\ul{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\cf1\ul\f0\fs19  <{{\field{\*\fldinst{HYPERLINK "http://www.microsoft.com/exporting"}}{\fldrslt{http://www.microsoft.com/exporting}}}}\f0\fs19 >\cf0\ulnone .\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \caps\fs20 8.\tab\fs19 Entire Agreement.\b0\caps0   This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\cf0\fs20 a.\tab\fs19 United States.\b0   If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.  The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\fs20 b.\tab\fs19 Outside the United States.\b0   If you acquired the software in any other country, the laws of that country apply.\b\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-357\li357\sb120\sa120\tx360\caps\fs20 10.\tab\fs19 Legal Effect.\b0\caps0   This agreement describes certain legal rights.  You may have other rights under the laws of your country.  You may also have rights with respect to the party from whom you acquired the software.  This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \fs20 11.\tab\fs19 Disclaimer of Warranty.\caps0    \caps The software is licensed "as - is."  You bear the risk of using it.  SYSINTERNALS gives no express warranties, guarantees or conditions.  You may have additional consumer rights under your local laws which this agreement cannot change.  To the extent permitted under your local laws, SYSINTERNALS excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-360\li360\sb120\sa120\tx360\fs20 12.\tab\fs19 Limitation on and Exclusion of Remedies and Damages.  You can recover from SYSINTERNALS and its suppliers only direct damages up to U.S. $5.00.  You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\tx720\'b7\tab anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\fi-363\li720\sb120\sa120\'b7\tab claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\li360\sb120\sa120 It also applies even if Sysinternals knew or should have known about the possibility of the damages.  The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: \pard\b Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par
    C:\Users\mrbean\Downloads\Strings\strings64.exe: These license terms are an agreement between Sysinternals(a wholly owned subsidiary of Microsoft Corporation) and you.Please read them.They apply to the software you are downloading from technet.microsoft.com / sysinternals, which includes the media on which you received it, if any.The terms also apply to any Sysinternals
    C:\Users\mrbean\Downloads\Strings\strings64.exe: for this software, unless other terms accompany those items.If so, those terms apply.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: If you comply with these license terms, you have the rights below.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You may install and use any number of copies of the software on your devices.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is licensed, not sold.This agreement only gives you some rights to use the software.Sysinternals reserves all other rights.Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.You may not
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * work around any technical limitations in the software;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *publish the software for others to copy;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *rent, lease or lend the software;
    C:\Users\mrbean\Downloads\Strings\strings64.exe: *transfer the software or this agreement to any third party; or
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * use the software for commercial software hosting services.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Please be aware that, similar to other debug tools that capture 
    C:\Users\mrbean\Downloads\Strings\strings64.exe:  information, files saved by Sysinternals tools may include personally identifiable or other sensitive information(such as usernames, passwords, paths to files accessed, and paths to registry accessed).By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is subject to United States export laws and regulations.You must comply with all domestic and international export laws and regulations that apply to the software.These laws include restrictions on destinations, end users and end use.For additional information, see www.microsoft.com / exporting .
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This agreement, and the terms for supplements, updates, Internet - based services and support services that you use, are the entire agreement for the software and support services.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: United States.If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Outside the United States.If you acquired the software in any other country, the laws of that country apply.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This agreement describes certain legal rights.You may have other rights under the laws of your country.You may also have rights with respect to the party from whom you acquired the software.This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: The software is licensed "as - is." You bear the risk of using it.Sysinternals gives no express warranties, guarantees or conditions.You may have additional consumer rights under your local laws which this agreement cannot change.To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non - infringement.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You can recover from sysinternals and its suppliers only direct damages up to U.S.$5.00.You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * anything related to the software, services, content(including code) on third party Internet sites, or third party programs; and
    C:\Users\mrbean\Downloads\Strings\strings64.exe: * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: It also applies even if Sysinternals knew or should have known about the possibility of the damages.The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: Please note : As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: You can also use the /accepteula command-line switch to accept the EULA.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This is the first run of this program. You must accept EULA to continue.
    C:\Users\mrbean\Downloads\Strings\strings64.exe:        Do not display the startup banner and copyright message.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: - Attempt to initialize the CRT more than once.
    C:\Users\mrbean\Downloads\Strings\strings64.exe: This indicates a bug in your application. It is most likely the result of calling an MSIL-compiled (/clr) function from a native constructor or from DllMain.

  6. #6
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5
    Quote Originally Posted by WaxfordSqueers View Post
    Inserting findstr /sip, rather than just /i, seems to solve the problem. Seems the /s acts to confine the search to the current directory and the /p prevents unwanted, non-Ascii characters from appearing.

    Now I get a neat and concise printout.
    That result seems to support indirectly what I think is a system reason why the first recursive output occurred.

    /p Skips files with non-printable characters.

  7. #7
    Quote Originally Posted by Kayaker View Post
    /p Skips files with non-printable characters.
    That's seems a bit confusing since both strings.exe and strings64.exe are loaded with non-printable characters yet those files are not skipped when the /p extension is used. I wonder if it means files with only non-printable characters are skipped.

    Did you say geometric series? My brain begins to quiver thinking back to series theory. I have seen similar behaviour when an app tries to read through one of the W7 symbolic links if it doesn't know about them. The app gets stuck in an endless loop in which it finds an endless number of nested directories that are not there. Why strings would be searching outside the containing folder is a good question, if it is doing that. It seems, however, that the /s extension limits the search to the directory in question.

    I'm guessing here, but it seems when an app hits a symbolic link it gets pointed to the real directory and then pointed back to the symbolic link, where it merrily proceeds back to the real directory.

    I wonder if using the root directory, like C:\, would change that behavior?

    Yes...that's it. I created the directory c:\atmp then ran strings64 from it as:

    strings64 * | findstr /i "tmp" > foo.txt

    and it ran only once as did findstr /sip in the other directory, which is in c:\users. It seems c:\users may be a symbolic link itself, or at least, a pointer to the username directory.

  8. #8
    Quote Originally Posted by WaxfordSqueers View Post
    It seems c:\users may be a symbolic link itself, or at least, a pointer to the username directory.
    Looked it up and c:\users seems to be a regular directory. However, c:\Documents and Settings is linked to it to provide older OS's like XP a means to implement Documents and Settings. From my recent work in XP I use Documents and Settings all the time to access my username folder. However, there is nothing in the Documents and Settings folder in W7, it links to C:\Users. If an app does not know that, it will try to find files in 'docs and sets' and get caught up in a loop of non-existent phantom folders.

  9. #9
    Super Moderator
    Join Date
    Dec 2004
    Posts
    1,525
    Blog Entries
    15
    i checked the recursive thingy and it seems to be working allright the the thingy too seemed to work correctly in x86

    maybe some bug in latest version if it is recursively repeating the search



    Code:
    E:\SYSINT\strtest>copy con test.txt
    recursive^Z
            1 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt .
    The file cannot be copied onto itself.
            0 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt test1.txt
            1 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt test2.txt
            1 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt test3.txt
            1 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt test4.txt
            1 file(s) copied.
    
    E:\SYSINT\strtest>copy test.txt test5.txt
            1 file(s) copied.
    
    E:\SYSINT\strtest>strings.exe *.txt | findstr /i "recursive" > recursive.txt
    
    E:\SYSINT\strtest>cat recursive.txt
    E:\SYSINT\strtest\test.txt: recursive
    E:\SYSINT\strtest\test1.txt: recursive
    E:\SYSINT\strtest\test2.txt: recursive
    E:\SYSINT\strtest\test3.txt: recursive
    E:\SYSINT\strtest\test4.txt: recursive
    E:\SYSINT\strtest\test5.txt: recursive
    
    E:\SYSINT\strtest>

  10. #10
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5
    That was just to test a simple situation which would lead to a quick search result.

    How about this, again from the main strings folder do a search for "the", this time the output filename is different from the search term:

    strings64.exe * | findstr /i "the" > out1.txt

    It should work and produce an output file of around 33Kb in size. Now leave the results file out1.txt so it will be included and repeat the search with a different filename, say

    strings64.exe * | findstr /i "the" > out2.txt

    Or, instead make 1, 2, 3 or more copies of the Eula.txt file, which has lots of occurrences of "the", and repeat.

    In both cases there are going to be more search hits, and in both cases I find that the recursiveness starts and findstr keeps on going until you Ctrl-C to abort the command window.


    My thinking is that this is related to timing and file buffer writing during the search, I'll leave it at that for the moment.

  11. #11
    Super Moderator
    Join Date
    Dec 2004
    Posts
    1,525
    Blog Entries
    15
    yeah it borks the third time on this old x86

    Code:
    E:\SYSINT\strtest>strings.exe * | findstr /i "the" >> out2.txt
    
    E:\SYSINT\strtest>ls -lg
    total 100
    -rw-rw-rw-  1 0  6783 2020-01-19 01:06 out2.txt
    -rwxrwxrwx  1 0 90304 2013-06-18 15:12 strings.exe
    
    E:\SYSINT\strtest>strings.exe * | findstr /i "the" >> out2.txt
    
    E:\SYSINT\strtest>ls -lg
    total 116
    -rw-rw-rw-  1 0 21133 2020-01-19 01:06 out2.txt
    -rwxrwxrwx  1 0 90304 2013-06-18 15:12 strings.exe
    
    E:\SYSINT\strtest>strings.exe * | findstr /i "the" >> out2.txt
    FINDSTR: Line 24580 is too long.
    FINDSTR: Line 24678 is too long.
    FINDSTR: Line 24680 is too long.
    FINDSTR: Line 24697 is too long.
    FINDSTR: Line 24712 is too long.
    FINDSTR: Line 24739 is too long.
    FINDSTR: Line 24769 is too long.
    FINDSTR: Line 24792 is too long.
    FINDSTR: Line 24794 is too long.
    FINDSTR: Line 25071 is too long.
    FINDSTR: Line 25100 is too long.
    FINDSTR: Line 25122 is too long.
    FINDSTR: Line 25146 is too long.
    FINDSTR: Line 25226 is too long.
    FINDSTR: Line 25328 is too long.
    FINDSTR: Line 25363 is too long.
    FINDSTR: Line 25371 is too long.
    FINDSTR: Line 25377 is too long.
    FINDSTR: Line 25378 is too long.
    FINDSTR: Line 25404 is too long.
    FINDSTR: Line 25409 is too long.
    FINDSTR: Line 25420 is too long.
    FINDSTR: Line 25427 is too long.
    FINDSTR: Line 25456 is too long.
    FINDSTR: Line 25457 is too long.
    FINDSTR: Line 25468 is too long.
    FINDSTR: Line 25470 is too long.
    FINDSTR: Line 25476 is too long.
    FINDSTR: Line 25477 is too long.
    FINDSTR: Line 25479 is too long.
    FINDSTR: Line 25500 is too long.
    FINDSTR: Line 25511 is too long.
    FINDSTR: Line 25519 is too long.
    FINDSTR: Line 25522 is too long.
    FINDSTR: Line 25523 is too long.
    FINDSTR: Line 25528 is too long.
    FINDSTR: Line 25534 is too long.
    FINDSTR: Line 25541 is too long.
    FINDSTR: Line 25544 is too long.
    FINDSTR: Line 25549 is too long.
    FINDSTR: Line 25560 is too long.
    FINDSTR: Line 25561 is too long.
    FINDSTR: Line 25572 is too long.
    FINDSTR: Line 25573 is too long.
    FINDSTR: Line 25581 is too long.
    FINDSTR: Line 25586 is too long.
    FINDSTR: Line 25587 is too long.
    FINDSTR: Line 25588 is too long.
    FINDSTR: Line 25602 is too long.
    FINDSTR: Line 25612 is too long.
    FINDSTR: Line 25616 is too long.
    FINDSTR: Line 25617 is too long.
    FINDSTR: Line 25618 is too long.
    FINDSTR: Line 25619 is too long.
    FINDSTR: Line 25630 is too long.
    FINDSTR: Line 25635 is too long.
    FINDSTR: Line 25638 is too long.
    FINDSTR: Line 25642 is too long.
    FINDSTR: Line 25643 is too long.
    FINDSTR: Line 25660 is too long.
    FINDSTR: Line 25665 is too long.
    FINDSTR: Line 25670 is too long.
    FINDSTR: Line 25673 is too long.
    FINDSTR: Line 25674 is too long.
    FINDSTR: Line 25679 is too long.
    FINDSTR: Line 25680 is too long.
    FINDSTR: Line 25681 is too long.
    FINDSTR: Line 25682 is too long.
    FINDSTR: Line 25686 is too long.
    FINDSTR: Line 25690 is too long.
    FINDSTR: Line 25696 is too long.
    FINDSTR: Line 25699 is too long.
    FINDSTR: Line 25702 is too long.
    FINDSTR: Line 25704 is too long.
    FINDSTR: Line 25709 is too long.
    FINDSTR: Line 25724 is too long.
    FINDSTR: Line 25726 is too long.
    FINDSTR: Line 25735 is too long.
    FINDSTR: Line 25738 is too long.
    FINDSTR: Line 25751 is too long.
    FINDSTR: Line 25752 is too long.
    FINDSTR: Line 25773 is too long.
    FINDSTR: Line 25774 is too long.
    FINDSTR: Line 25778 is too long.
    FINDSTR: Line 25808 is too long.
    
    E:\SYSINT\strtest>

  12. #12
    Blabbs....can you try your good test from a directory inside c:\users in W7? My directory was c:\users\username\downloads because that's where I d/led the strings package. The recursion may be due to symbolic links which XP does not have. I seem to recall this kind of behaviour when using an earlier version of icacls to rewrite the permissions on the entire C:\ drive in W7. I had a problem with symbolic links and it went into a recursive frenzy in one directory.

    Kayaker...try moving strings.exe/string64.exe, and eula.txt on W7 to the root folder as in c:\strings. I'll try it on XP tonight in both directories. As soon as I moved the files to a folder in the root directory it worked fine.

  13. #13
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5
    Quote Originally Posted by WaxfordSqueers View Post
    Kayaker...try moving strings.exe/string64.exe, to the root folder as in c:\strings.
    Nope, same effect with the first command example from c:\ or d:\ on Win10.

    My ponderings to explain the reason for the recursion was this - that for a normal timed search result, the piped output file simply wouldn't have been written to by the time findstr opened it for reading the first time. If the results text buffers in findstr hadn't been flushed yet there would be no search hit from the output file which would start the recursion. Interestingly, if the recursion is to continue there must be some reason for findstr to open/read the file a second, third and subsequent times, so perhaps it detects creation time of the continually growing file and treats it as a new file to open?

    As for the strings64 command, perhaps searching for a common word in many files, including binaries, took long enough and produced enough results for the output file to be written to by the time findstr opened it the first time, and this led to the recursion. The solution would be to exclude the output file from being included in the search of course, but that's annoying.

    This seems to indicate there is a timing involved as well, regarding how long it takes to write the results buffer to a file, once, compared to how long it takes to finish the search itself. This would be affected by kernel i/o procedure calls, queues, apcs and all that as well.

    Somehow this led to NtWriteFile in Win10 ntoskrnl and this interesting reference to SmKmIssueFileIo through which system writes might occur

    NtWriteFile proc near ; CODE XREF: SmKmIssueFileIo(_SMKM_FILE_INFO *,_SMKM_ISSUE_IO_PARAMS *,_LARGE_INTEGER *,void (*)(void *,_IO_STATUS_BLOCK *,ulong),void *):


    One solution I wonder - if the output file created by the > command was non-readable by findstr then maybe it would be skipped as an unopenable file.

    (difference between > and >> for pipe output?)

  14. #14
    kayaker...Good point. If you watch that video at the link I posted, he is using findstr piped through findstr. He had not used strings.exe at that point. I'll need to watch the entire video since the guy on the left is a Windows programmer and he claims to do a lot of searches through code.

  15. #15
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,147
    Blog Entries
    5
    Quote Originally Posted by WaxfordSqueers View Post
    findstr piped through findstr. He had not used strings.exe at that point.
    Also a good point, we've got strings.exe controlling findstr which is likely tied to cmd.exe behaviour as well.


    FINDSTR cannot search for null bytes commonly found in Unicode files.

    Somehow Strings handles the unicode side of things, yet still uses findstr as... in what capacity?

Similar Threads

  1. Replies: 5
    Last Post: January 30th, 2016, 01:16
  2. searching for something like the CUSTOMISER
    By Ivan in forum The Newbie Forum
    Replies: 2
    Last Post: May 26th, 2007, 12:59
  3. Ollydbg revers searching
    By Stevo in forum OllyDbg Support Forums
    Replies: 2
    Last Post: November 25th, 2006, 07:12
  4. Amazing new searching tool!
    By TBone in forum Off Topic
    Replies: 2
    Last Post: April 2nd, 2005, 06:56
  5. tool for searching strings
    By figugegl in forum Tools of Our Trade (TOT) Messageboard
    Replies: 10
    Last Post: January 24th, 2005, 15:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •