{"id":151,"date":"2014-12-13T11:42:10","date_gmt":"2014-12-13T03:42:10","guid":{"rendered":"http:\/\/owemeawe.com\/?p=151"},"modified":"2017-03-20T01:21:32","modified_gmt":"2017-03-20T01:21:32","slug":"windows%e4%b8%8b%e6%96%87%e6%9c%ac%e8%bf%87%e6%bb%a4","status":"publish","type":"post","link":"https:\/\/peloo.net\/?p=151","title":{"rendered":"Windows\u4e0b\u6587\u672c\u8fc7\u6ee4"},"content":{"rendered":"<p>\n\t\u60f3\u5728windows\u4e0b\u4f7f\u7528\u547d\u4ee4\u6765\u67e5\u627e\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1awhere\u547d\u4ee4\u7684\u683c\u5f0f\u5982\u4e0b\uff1a\n<\/p>\n<p>\n\tWHERE [\/R dir] [\/Q] [\/F] [\/T] pattern...\n<\/p>\n<p>\n\tDescription:<br \/>\n\tDisplays the location of files that match the search pattern.<br \/>\n\tBy default, the search is done along the current directory and<br \/>\n\tin the paths specified by the PATH environment variable.\n<\/p>\n<p>\n\tParameter List:<br \/>\n\t\/R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Recursively searches and displays the files that match the<br \/>\n\tgiven pattern starting from the specified directory.\n<\/p>\n<p>\n\t\/Q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Returns only the exit code, without displaying the list<br \/>\n\tof matched files. (quite mode)\n<\/p>\n<p>\n\t\/F&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays the matched filename in double quotes.\n<\/p>\n<p>\n\t\/T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays the file size, last modified date and time for all<br \/>\n\tmatched files.\n<\/p>\n<p>\n\tpattern&nbsp; Specifies the search pattern for the files to match.<br \/>\n\tWildcards * and ? can be used in the pattern. The<br \/>\n\t&quot;$env:pattern&quot; and &quot;path:pattern&quot; formats can also be<br \/>\n\tspecified, where &quot;env&quot; is an environment variable and<br \/>\n\tthe search is done in the specified paths of the &quot;env&quot;<br \/>\n\tenvironment variable. These formats should not be used<br \/>\n\twith \/R. The search is also done by appending the<br \/>\n\textensions of the PATHEXT variable to the pattern.\n<\/p>\n<p>\n\t\/?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays this help message.\n<\/p>\n<p>\n\tNOTE: The tool returns an error level of 0 if the search is<br \/>\n\tsuccessful, of 1 if the search is unsuccessful and<br \/>\n\tof 2 for failures or errors.\n<\/p>\n<p>\n\tExamples:<br \/>\n\tWHERE \/?<br \/>\n\tWHERE myfilename1 myfile????.*<br \/>\n\tWHERE $windir:*.*<br \/>\n\tWHERE \/R c:\\windows *.exe *.dll *.bat<br \/>\n\tWHERE \/Q ??.???<br \/>\n\tWHERE &quot;c:\\windows;c:\\windows\\system32:*.dll&quot;<br \/>\n\tWHERE \/F \/T *.dll\n<\/p>\n<p>\n\t\u6211\u4eec\u60f3\u67e5\u627e\u6587\u4ef6\u5185\u5bb9\u7684\u547d\u4ee4\u662f\uff1afind\u6216\u8005findstr<br \/>\n\t\u5728linux\u4e0b\u7684\u67e5\u627e\u6587\u4ef6\u7684\u547d\u4ee4\u4e5f\u662f :&nbsp; where<br \/>\n\t\u4e5f\u53ef\u4ee5\u4f7f\u7528find -name<br \/>\n\t\u67e5\u627e\u6587\u4ef6\u7684\u5185\u5bb9\u7684\u8bdd\uff0c\u53ef\u4ee5\u4f7f\u7528grep ,\u652f\u6301\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u4f7f\u7528\u8d77\u6765\u4e5f\u5f88\u65b9\u4fbf\uff0c\u518d\u52a0\u4e0a\u7ba1\u9053\uff0c\u6709\u7684\u65f6\u5019\u4f1a\u89c9\u5f97\u7279\u522b\u7684\u65b9\u4fbf\u548c\u5feb\u6377\u3002\n<\/p>\n<div class=\"article_content\">\n\tFindstr&nbsp;<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t\u4f7f\u7528\u5e38\u89c4\u8868\u8fbe\u5f0f\u641c\u7d22\u6587\u4ef6\u4e2d\u7684\u6587\u672c\u6a21\u5f0f\u3002\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t\u8bed\u6cd5&nbsp;\n\t<\/p>\n<p>\n\t\t<b>findstr<\/b> [<b>\/b<\/b>] [<b>\/e<\/b>] [<b>\/l<\/b>] [<b>\/r<\/b>] [<b>\/s<\/b>] [<b>\/i<\/b>] [<b>\/x<\/b>] [<b>\/v<\/b>] [<b>\/n<\/b>] [<b>\/m<\/b>] [<b>\/o<\/b>] [<b>\/p<\/b>] [<b>\/offline<\/b>] [<b>\/g:<\/b><i>file<\/i>] [<b>\/f:<\/b><i>file<\/i>] [<b>\/c:<\/b><i>string<\/i>] [<b>\/d:<\/b><i>dirlist<\/i>] [<b>\/a:<\/b><i>ColorAttribute<\/i>] [<i>strings<\/i>] [[<i>Drive<\/i><b>:<\/b>][<i>Path<\/i>] <i>FileName<\/i> [...]]\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t\u53c2\u6570 &nbsp; <b>\/b<\/b> \u5982\u679c\u4f4d\u4e8e\u884c\u7684\u5f00\u5934\u5219\u5339\u914d\u6a21\u5f0f\u3002 <b>\/e<\/b> \u5982\u679c\u4f4d\u4e8e\u884c\u7684\u672b\u5c3e\u5219\u5339\u914d\u6a21\u5f0f\u3002 <b>\/l<\/b> \u4f7f\u7528\u6587\u5b57\u641c\u7d22\u5b57\u7b26\u4e32\u3002 <b>\/r<\/b> \u4f7f\u7528\u641c\u7d22\u4e32\u4f5c\u4e3a\u5e38\u89c4\u8868\u8fbe\u5f0f\u3002<b>Findstr<\/b> \u5c06\u6240\u6709\u5143\u5b57\u7b26\u89e3\u91ca\u4e3a\u5e38\u89c4\u8868\u8fbe\u5f0f\uff0c\u9664\u975e\u4f7f\u7528\u4e86 <b>\/l<\/b>\u3002 <b>\/s<\/b> \u5728\u5f53\u524d\u76ee\u5f55\u548c\u6240\u6709\u5b50\u76ee\u5f55\u4e2d\u641c\u7d22\u5339\u914d\u7684\u6587\u4ef6\u3002 <b>\/i<\/b> \u6307\u5b9a\u641c\u7d22\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u3002 <b>\/x<\/b> \u6253\u5370\u5b8c\u5168\u5339\u914d\u7684\u884c\u3002 <b>\/v<\/b> \u53ea\u6253\u5370\u4e0d\u5305\u542b\u5339\u914d\u7684\u884c\u3002 <b>\/n<\/b> \u5728\u6bcf\u4e2a\u5339\u914d\u7684\u884c\u4e4b\u524d\u6253\u5370\u884c\u53f7\u3002 <b>\/m<\/b> \u5982\u679c\u6587\u4ef6\u5305\u542b\u5339\u914d\u9879\uff0c\u4ec5\u6253\u5370\u8be5\u6587\u4ef6\u540d\u3002 <b>\/o<\/b> \u5728\u6bcf\u6b21\u5339\u914d\u884c\u4e4b\u524d\u6253\u5370\u67e5\u627e\u504f\u79fb\u91cf\u3002 <b>\/p<\/b> \u8df3\u8fc7\u5305\u542b\u975e\u53ef\u6253\u5370\u5b57\u7b26\u7684\u6587\u4ef6\u3002 <b>\/offline<\/b> \u5229\u7528\u8131\u673a\u5c5e\u6027\u8bbe\u7f6e\u5904\u7406\u6587\u4ef6\u3002 <b>\/f:<\/b><i>file<\/i> \u4ece\u6307\u5b9a\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6587\u4ef6\u5217\u8868\u3002 <b>\/c:<\/b><i>string<\/i> \u4f7f\u7528\u6307\u5b9a\u7684\u6587\u672c\u4f5c\u4e3a\u6587\u5b57\u641c\u7d22\u5b57\u7b26\u4e32\u3002 <b>\/g:<\/b><i>file<\/i> \u4ece\u6307\u5b9a\u6587\u4ef6\u5f97\u5230\u641c\u7d22\u5b57\u7b26\u4e32\u3002 <b>\/d:<\/b><i>dirlist<\/i> \u641c\u7d22\u4ee5\u9017\u53f7\u5206\u9694\u7684\u76ee\u5f55\u5217\u8868\u3002 <b>\/a:<\/b><i>ColorAttribute<\/i> \u4f7f\u7528\u4e24\u4e2a\u5341\u516d\u8fdb\u5236\u6570\u6307\u5b9a\u989c\u8272\u5c5e\u6027\u3002 <i>strings<\/i> \u6307\u5b9a\u8981\u5728 <i>FileName<\/i> \u4e2d\u641c\u7d22\u7684\u6587\u672c\u3002 [<i>Drive<\/i><b>:<\/b>][<i>Path<\/i>] <i>FileName<\/i> [...] \u6307\u5b9a\u8981\u641c\u7d22\u7684\u6587\u4ef6\u3002 <b>\/?<\/b> \u5728\u547d\u4ee4\u63d0\u793a\u7b26\u663e\u793a\u5e2e\u52a9\u3002 &nbsp; \u6ce8\u91ca&nbsp;\n\t<\/p>\n<ul>\n<li>\n\t\t\t\u5728 <b>findstr<\/b> \u4e2d\u4f7f\u7528\u5e38\u89c4\u8868\u8fbe\u5f0f<b>Findstr<\/b> \u53ef\u4ee5\u5728\u4efb\u4f55 ASCII \u6587\u4ef6\u6216\u6587\u4ef6\u4e2d\u7cbe\u786e\u67e5\u627e\u6240\u8981\u67e5\u627e\u7684\u6587\u672c\u3002\u7136\u800c\uff0c\u6709\u65f6\u8981\u5339\u914d\u7684\u4fe1\u606f\u53ea\u6709\u4e00\u90e8\u5206\u6216\u9700\u8981\u67e5\u627e\u66f4\u5bbd\u5e7f\u7684\u4fe1\u606f\u8303\u56f4\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c<b>findstr<\/b> \u5177\u6709\u4f7f\u7528\u5e38\u89c4\u8868\u8fbe\u5f0f\u641c\u7d22\u5404\u79cd\u6587\u672c\u7684\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n<p>\n\t\t\t\t\u5e38\u89c4\u8868\u8fbe\u5f0f\u662f\u7528\u4e8e\u6307\u5b9a\u6587\u672c\u7c7b\u578b\u7684\u7b26\u53f7\uff0c\u4e0e\u7cbe\u786e\u7684\u5b57\u7b26\u4e32\u76f8\u53cd\u3002\u6807\u8bb0\u4f7f\u7528\u6587\u5b57\u5b57\u7b26\u548c\u5143\u5b57\u7b26\u3002\u6bcf\u4e2a\u5728\u5e38\u89c4\u7684\u8868\u8fbe\u5f0f\u8bed\u6cd5\u4e2d\u6ca1\u6709\u7279\u6b8a\u610f\u4e49\u7684\u5b57\u7b26\u90fd\u662f\u6587\u5b57\u5b57\u7b26\uff0c\u4e0e\u51fa\u73b0\u7684\u8be5\u5b57\u7b26\u5339\u914d\u3002\u4f8b\u5982\uff0c\u5b57\u6bcd\u548c\u6570\u5b57\u662f\u6587\u5b57\u7b26\u53f7\u3002\u5143\u5b57\u7b26\u662f\u5728\u5e38\u89c4\u8868\u8fbe\u5f0f\u8bed\u6cd5\u4e2d\u5177\u6709\u7279\u6b8a\u610f\u4e49\uff08\u64cd\u4f5c\u7b26\u6216\u5206\u9694\u7b26\uff09\u7684\u7b26\u53f7\u3002\n\t\t\t<\/p>\n<p>\n\t\t\t\t\u4e0b\u8868\u5217\u51fa <b>findstr<\/b> \u63a5\u53d7\u7684\u5143\u5b57\u7b26\u3002\n\t\t\t<\/p>\n<p>\n\t\t\t\t&nbsp;\n\t\t\t<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\n\t\t\t\t\t\t\t\t\u5b57\u7b26\n\t\t\t\t\t\t\t<\/p>\n<\/th>\n<th>\n<p align=\"left\">\n\t\t\t\t\t\t\t\t\u503c\n\t\t\t\t\t\t\t<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\n\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t<\/p>\n<\/td>\n<td>\n\t\t\t\t\t\t\t\u901a\u914d\u7b26\uff1a\u4efb\u4f55\u5b57\u7b26\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t*\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u91cd\u590d\uff1a\u4ee5\u524d\u5b57\u7b26\u6216\u7c7b\u7684\u96f6\u6b21\u6216\u591a\u6b21\u51fa\u73b0\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t^\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u884c\u4f4d\u7f6e\uff1a\u884c\u7684\u5f00\u59cb\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t$\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u884c\u4f4d\u7f6e\uff1a\u884c\u7684\u7ed3\u5c3e\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t[<i>class<\/i>]\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u5b57\u7b26\u7c7b\uff1a\u96c6\u5408\u4e2d\u4efb\u4f55\u4e00\u4e2a\u5b57\u7b26\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t[^<i>class<\/i>]\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u53cd\u7c7b\uff1a\u4e0d\u5728\u96c6\u5408\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\u5b57\u7b26\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t[<i>x<\/i>-<i>y<\/i>\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u8303\u56f4\uff1a\u8303\u56f4\uff1a\u6307\u5b9a\u8303\u56f4\u5185\u7684\u4efb\u4f55\u5b57\u7b26\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t\\<i>x<\/i>\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u53d6\u6d88\uff1a\u5143\u5b57\u7b26 <i>x<\/i> \u7684\u6587\u5b57\u7528\u9014\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t\\&lt;<i>xyz<\/i>\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u5b57\u4f4d\u7f6e\uff1a\u5b57\u9996\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\t\t\t<i>xyz&gt;<\/i>\n\t\t\t\t\t\t<\/td>\n<td>\n\t\t\t\t\t\t\t\u5b57\u4f4d\u7f6e\uff1a\u5b57\u5c3e\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n\t\t\t\t&nbsp;\n\t\t\t<\/p>\n<p>\n\t\t\t\t\u5e38\u89c4\u8868\u8fbe\u5f0f\u8bed\u6cd5\u7684\u7279\u6b8a\u5b57\u7b26\u5728\u4e00\u8d77\u4f7f\u7528\u65f6\u529f\u80fd\u6700\u5f3a\u5927\u3002\u4f8b\u5982\uff0c\u4ee5\u4e0b\u5339\u914d\u4efb\u610f\u5b57\u7b26\u4e32\u7684\u901a\u914d\u7b26 (.) \u548c\u91cd\u590d\u7b26 (*) \u7684\u7ec4\u5408\uff1a\n\t\t\t<\/p>\n<p>\n\t\t\t\t<b>.*<\/b>\n\t\t\t<\/p>\n<p>\n\t\t\t\t\u5c06\u5982\u4e0b\u8868\u8fbe\u5f0f\u7528\u4f5c\u5339\u914d\u4ee5&ldquo;b&rdquo;\u5f00\u5934\u5e76\u4ee5&ldquo;ing&rdquo;\u7ed3\u5c3e\u7684\u4efb\u4f55\u5b57\u7b26\u4e32\u7684\u66f4\u5927\u8868\u8fbe\u5f0f\u7684\u7ec4\u6210\u90e8\u5206\uff1a\n\t\t\t<\/p>\n<p>\n\t\t\t\t<b>b.*ing<\/b>\n\t\t\t<\/p>\n<\/li>\n<\/ul>\n<p>\n\t\t\u8303\u4f8b&nbsp;\n\t<\/p>\n<p>\n\t\t1\uff0c\u7528\u7a7a\u683c\u5206\u9694\u591a\u4e2a\u641c\u7d22\u5b57\u7b26\u4e32\uff0c\u9664\u975e\u53c2\u6570\u4ee5 <b>\/c<\/b> \u4e3a\u524d\u7f00\u3002\n\t<\/p>\n<p>\n\t\t\u793a\u4f8b\uff1a\u8981\u641c\u7d22 update \u4e2d\u7684\u8865\u4e01 kb959426&nbsp;\uff0c kb960803 \u548c&nbsp;kb923561\uff0c\u5e76\u5ffd\u7565\u6587\u4ef6\u540d\u7684\u5927\u5c0f\u5199\u3002\n\t<\/p>\n<\/div>\n<div>\n\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;%SystemRoot%\\SoftwareDistribution\\Download&quot; \/b\/s | findstr \/i &quot;kb959426.cat kb960803.cat kb923561.cat&quot;<br \/>\n\t\tC:\\WINDOWS\\SoftwareDistribution\\Download\\1a8d8b5adfad6783fc587b22c7b46bdb\\update\\KB959426.cat<br \/>\n\t\tC:\\WINDOWS\\SoftwareDistribution\\Download\\d17c21d524671e137c74dca6825b5000\\update\\KB960803.cat<br \/>\n\t\tC:\\WINDOWS\\SoftwareDistribution\\Download\\f907772167447a38fba955073db9f600\\update\\KB923561.CAT\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a<br \/>\n\t\t\u793a\u4f8b\uff1a\u8981\u641c\u7d22 %ProgramFiles% \u4e2d\u542b\u6709&ldquo;Windows Media&rdquo;\u7684\u5b50\u76ee\u5f55\uff0c\u5e76\u5ffd\u7565\u6587\u4ef6\u540d\u7684\u5927\u5c0f\u5199\u3002\n\t<\/p>\n<p>\n\t\t&nbsp;<br \/>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;C:\\Program Files&quot; \/b | findstr \/i \/c:&quot;Windows Media&quot;<br \/>\n\t\tC:\\Program Files\\Windows Media Components<br \/>\n\t\tC:\\Program Files\\Windows Media Connect 2<br \/>\n\t\tC:\\Program Files\\Windows Media Player\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a\n\t<\/p>\n<p>\n\t\t2\uff0c\u793a\u4f8b\uff1a\u8981\u641c\u7d22\u76ee\u5f55 D:\\Program Files\\UC \u4e2duc\u767b\u9646\u8fc7\u7684\u6240\u6709\u5e10\u53f7\uff08\u6587\u4ef6\u5939\u540d\u7531\u6570\u5b57\u7ec4\u6210\uff09\uff0c\u4e14\u53f7\u7801\u4e3a8\u4f4d\u4ee5\u4e0a\u3002<br \/>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;D:\\Program Files\\UC&quot; \/b\/s | findstr ^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*[0-9]$<br \/>\n\t\tD:\\Program Files\\UC\\users\\30194447<br \/>\n\t\tD:\\Program Files\\UC\\users\\34886634\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a<br \/>\n\t\t\u8bf4\u660e\uff1a\u672c\u4f8b\u4e2d\uff0c^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] \u7528\u6765\u9650\u5b9a\u5b57\u7b26\u5f00\u5934\u5fc5\u987b\u662f\u6570\u5b57\u7ec4\u6210\uff0c\u4e14\u81f3\u5c11\u662f8\u4f4d\uff0c[0-9]$ \u7528\u6765\u9650\u5b9a\u5b57\u7b26\u7684\u7ed3\u5c3e\u5fc5\u987b\u662f\u6570\u5b57\u6784\u6210\uff0c* \u7528\u6765\u89c4\u5b9a\u4e2d\u95f4\u4e5f\u8981\u7531\u6570\u5b57\u7ec4\u6210\u3002\n\t<\/p>\n<p>\n\t\t3\uff0c\u793a\u4f8b\uff1a\u5206\u522b\u68c0\u67e5\u76ee\u5f55 C:\\WINDOWS\\Config\uff08\u9ed8\u8ba4\u4e3a\u7a7a\uff09\u548c C:\\WINDOWS\\system32 \u662f\u5426\u4e3a\u7a7a\u3002\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir \/a \/b &quot;%SystemRoot%\\Config&quot;|findstr .&gt;nul 2&gt;nul &amp;&amp; echo \u6b64\u76ee\u5f55\u4e0d\u4e3a\u7a7a || echo \u6b64\u76ee\u5f55\u4e3a\u7a7a<br \/>\n\t\t\u6b64\u76ee\u5f55\u4e3a\u7a7a\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir \/a \/b &quot;%SystemRoot%\\system32&quot;|findstr .&gt;nul 2&gt;nul &amp;&amp; echo \u6b64\u76ee\u5f55\u4e0d\u4e3a\u7a7a || echo \u6b64\u76ee\u5f55\u4e3a\u7a7a<br \/>\n\t\t\u6b64\u76ee\u5f55\u4e0d\u4e3a\u7a7a\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a<br \/>\n\t\t4\uff0c\u793a\u4f8b\uff1a\u5047\u8bbe\u60a8\u60f3\u8981\u627e\u5230 C:\\WINDOWS \u76ee\u5f55\uff08\u4e0d\u5305\u62ec\u5b50\u76ee\u5f55\uff09\u4e2d\u6bcf\u4e2a\u5305\u542b&ldquo;winnt&rdquo;\u8fd9\u4e2a\u5355\u8bcd\uff0c\u5e76\u4ee5\u5176\u5f00\u5934\uff0c\u5e76\u4e14\u5305\u542b&ldquo;bmp&rdquo;\u8fd9\u4e2a\u5355\u8bcd\uff0c\u5e76\u4ee5\u5176\u7ed3\u5c3e\uff08\u505a\u6269\u5c55\u540d\uff09\u7684\u6587\u4ef6\uff08\u5305\u62ec\u5177\u6709\u9690\u85cf\u5c5e\u6027\u53ca\u7cfb\u7edf\u6587\u4ef6\uff09\uff0c\u800c\u4e0d\u8003\u8651\u5b57\u6bcd\u7684\u5927\u5c0f\u5199\u3002 www.it165.net<br \/>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;%SystemRoot%&quot; \/a \/b | findstr \/i &quot;\\&lt;winnt.*\\.bmp\\&gt;&quot;<br \/>\n\t\twinnt.bmp<br \/>\n\t\twinnt256.bmp\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a<br \/>\n\t\t\u8bf4\u660e\uff1a\u672c\u4f8b\u4e2d \\. \u7684 \\ \u662f\u5c06 . \u7531\u5143\u5b57\u7b26\u8f6c\u4e3a\u6587\u5b57\u5b57\u7b26\u3002\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t5\uff0c\u5e38\u89c4\u8868\u8fbe\u5f0f\u4e2d\uff0c\u884c\u4f4d\u7f6e\u4e0e\u5b57\u4f4d\u7f6e\u7684\u5173\u7cfb\u3002\u4f8b\u5982\uff0c\u4e00\u4e2a\u6587\u4ef6\u5939\u540d\u6216\u6587\u4ef6\u540d\uff0c\u88ab\u8ba4\u4e3a\u662f\u4e00\u884c\uff0c\u800c\u8fd9\u4e2a\u540d\u5b57\u53ef\u4ee5\u662f\u7531\u4e00\u4e2a\u6216\u6570\u4e2a\u5355\u8bcd\u6784\u6210\uff0c\u5e76\u4ee5\u7a7a\u683c\u5206\u9694\uff0c\u90a3\u4e48 \u6bcf\u4e2a\u5355\u8bcd\u5c31\u662f\u4e00\u4e2a\u5b57\u3002\u793a\u4f8b\uff0c\u8981\u641c\u7d22 %ProgramFiles% \u4e2d\u7684\u76ee\u5f55\u540d\u542b\u6709&ldquo;Hanye&rdquo;\u5e76\u4ee5\u5176\u5f00\u5934\uff0c\u4e14\u5ffd\u7565\u6587\u4ef6\u5939\u540d\u7684\u5927\u5c0f\u5199\u3002\u5b9e\u9645\u5b58\u5728\u7684\u76f8\u5173\u76ee\u5f55\u5206\u522b\u662f\uff1a\n\t<\/p>\n<p>\n\t\tHanye Guxing\n\t<\/p>\n<p>\n\t\tHanye\n\t<\/p>\n<p>\n\t\tHanyeGuxing\n\t<\/p>\n<p>\n\t\tGuxing Hanye\n\t<\/p>\n<p>\n\t\tGuxingHanye\n\t<\/p>\n<p>\n\t\t&nbsp;<br \/>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;C:\\Program Files&quot; \/b | findstr \/i &quot;^Hanye.*&quot;<br \/>\n\t\tHanye Guxing<br \/>\n\t\tHanye<br \/>\n\t\tHanyeGuxing\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;C:\\Program Files&quot; \/b | findstr \/i &quot;\\&lt;Hanye.*&quot;<br \/>\n\t\tHanye Guxing<br \/>\n\t\tHanye<br \/>\n\t\tHanyeGuxing<br \/>\n\t\tGuxing Hanye\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a\n\t<\/p>\n<p>\n\t\t\u770b\u4e0b\u9762\u7684\u793a\u4f8b\uff1a\u542b\u6709\u7edd\u5bf9\u8def\u5f84\u7684\u6587\u4ef6\u540d\u4e2d\u7684 \\ \u88ab\u4f5c\u5206\u9694\u7b26\u5206\u9694\u4e86\u6bcf\u4e2a\u884c\u7684\u5404\u4e2a\u5b57\u3002\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\tMicrosoft Windows XP [\u7248\u672c 5.1 2600]<br \/>\n\t\t&lt;C&gt; \u7248\u6743\u6240\u6709 1985-2001 Microsoft Corp.\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;%SystemRoot%\\SoftwareDistribution\\Download&quot; \/b\/s | findstr \/i &quot;^kb959426&quot;\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;dir &quot;%SystemRoot%\\SoftwareDistribution\\Download&quot; \/b\/s | findstr \/i &quot;\\&lt;kb959426&quot;<br \/>\n\t\tC:\\WINDOWS\\SoftwareDistribution\\Download\\1a8d8b5adfad6783fc587b22c7b46bdb\\WindowsXP-KB959426-x86-CHS.psm<br \/>\n\t\tC:\\WINDOWS\\SoftwareDistribution\\Download\\1a8d8b5adfad6783fc587b22c7b46bdb\\update\\KB959426.cat\n\t<\/p>\n<p>\n\t\tC:\\Documents and Settings\\\u5bd2\u591c\u5b64\u661f&gt;\n\t<\/p>\n<p>\n\t\t\u667a\u80fd ABC \u534a\uff1a<br \/>\n\t\t6\uff0c\u5982\u679c\u8981\u5728\u76f8\u540c\u7ec4\u6587\u4ef6\u4e2d\u641c\u7d22\u51e0\u4e2a\u4e0d\u540c\u9879\u76ee\uff0c\u8bf7\u521b\u5efa\u5728\u65b0\u884c\u4e0a\u5305\u542b\u6bcf\u4e2a\u641c\u7d22\u6807\u51c6\u7684\u6587\u672c\u6587\u4ef6\u3002\u4e5f\u53ef\u4ee5\u5217\u51fa\u8981\u5728\u6587\u672c\u6587\u4ef6\u4e2d\u641c\u7d22\u7684\u786e\u5207\u6587\u4ef6\u3002\u8981\u4f7f\u7528\u6587\u4ef6 Finddata.txt \u4e2d\u7684\u641c\u7d22\u6761\u4ef6\uff0c\u8bf7\u641c\u7d22 Filelist.txt \u4e2d\u5217\u51fa\u7684\u6587\u4ef6\uff0c\u7136\u540e\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u6587\u4ef6 Results.out \u4e2d\uff0c\u8bf7\u952e\u5165\uff1a\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\tfindstr \/g:finddata.txt \/f:filelist.txt &gt; results.out\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t\u6ce8\u610f<br \/>\n\t\t1\uff0c\u5f53\u641c\u7d22\u7684\u5b57\u7b26\u4e32\u4e2d\u542b\u6709\u5f00\u5173\u65f6\uff0c\u8bf7\u6ce8\u610f\uff01\n\t<\/p>\n<p>\n\t\t\u4f8b\u5982\uff0c\u641c\u7d22\u5b57\u7b26 \/r,\u4e0b\u9762\u7684\u8bed\u53e5\u662f\u9519\u8bef\u7684\uff1a\n\t<\/p>\n<p>\n\t\tfindstr \/l &quot;\/r&quot; test\n\t<\/p>\n<p>\n\t\t\u4e0d\u8fc7\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f00\u5173 \/c \u6765\u5f3a\u5236\u6307\u5b9a\u5173\u952e\u5b57\uff1a<br \/>\n\t\tfindstr \/l \/c:&quot;\/r&quot; test<br \/>\n\t\tfindstr \/l \/c:\/r test\n\t<\/p>\n<p>\n\t\t\u8fd8\u6709\u4e00\u4e2a\u65b9\u6cd5\uff0c\u5c31\u662f\u4e0a\u6587\u63d0\u5230\u7684 \\ \u4e86\uff1a<br \/>\n\t\tfindstr \/l \\\/r test\n\t<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u60f3\u5728windows\u4e0b\u4f7f\u7528\u547d\u4ee4\u6765\u67e5\u627e\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1awhere\u547d\u4ee4\u7684\u683c\u5f0f\u5982\u4e0b\uff1a WHERE [\/R dir] [\/Q] [\/F] [\/T] pattern&#8230; Description: Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable. Parameter List: \/R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Recursively searches and displays the files that match the given pattern starting from&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/151"}],"collection":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151"}],"version-history":[{"count":2,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":846,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions\/846"}],"wp:attachment":[{"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}