其实98下的find.exe也很好用。<br>find /i /n "include" D:/Projects/cb5/ServerH/*.* >c:/a.txt<br>这时a.txt中就存放了查到的结果。<br>>符号是重定向符号,将输出作为输入。<br><br>ShellExecute<br>(handle/*你的窗口句柄*/, <br>'open', <br>'find.exe',<br>'/i /n "include" D:/Projects/cb5/ServerH/*.* >c:/a.txt',<br>'c:/windows/command',<br>SW_HIDE);<br>你只须简单分析一下a.txt就可以了。<br><br>/>find /i /n "include" D:/Projects/cb5/tgr/ServerH/*.* >c:/a.txt