Board logo

标题: [文件操作] strings.exe - 输出文件中的可打印字符 [打印本页]

作者: tmplinshi    时间: 2012-11-13 12:49     标题: strings.exe - 输出文件中的可打印字符

  1. Usage: strings [-] [-aopx] [-n chars] [-numchars] [-t d|o|x] [file ...]
复制代码
-----------------------------------
官网: http://www.mikewyn.com/crp/
-----------------------------------

http://bcn.bathome.net/s/tool/index.html?key=strings
作者: tmplinshi    时间: 2012-11-13 12:56

另一个 strings:
http://technet.microsoft.com/en-us/sysinternals/bb897439.aspx

usage: strings [-a] [-f offset] [-b bytes] [-n length] [-o] [-q] [-s] [-u] <file or directory>

Strings takes wild-card expressions for file names, and additional command line parameters are defined as follows:-a        Ascii-only search (Unicode and Ascii is default)
-b        Bytes of file to scan
-f        File offset at which to start scanning.
-o        Print offset in file string was located
-n        Minimum string length (default is 3)
-q        Quiet (no banner)
-s        Recurse subdirectories
-u        Unicode-only search (Unicode and Ascii is default)




To search one or more files for the presence of a particular string using strings use a command like this:

strings * | findstr /i TextToSearchFor





欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2