JSI Tip 6454. Freeware application can parse a file for UNICODE strings.

Download Strings.

Sysinternals writes:

Working on NT and Win2K means that executables and object files will many times have embedded UNICODE strings that you cannot easily see with a standard ASCII strings or grep programs. So we decided to roll our own. Strings just scans the file you pass it for UNICODE (or ASCII) strings of a default length of 3 or more UNICODE (or ASCII) characters. Note that it works under Windows 95 as well.


strings \[-s\] \[-a\] \[-n X\] <file or directory>

Strings takes wild-card expressions for file names, and additional command line parameters are defined as follows:

-s     Recurse subdirectories. 
-a     Scan for ASCII instead of UNICODE 
-n X   Strings must be a minimum of X characters in length.
To search one or more files for the presence of a particular string using strings use a command like this:

strings * | findstr /i TextToSearchFor

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.