如何在Windows 7,Visual C ++上搜索文件夹中的变量,如fgrep在Linux中的变量 [英] How on Windows 7, Visual C++ can I search folders for variables like fgrep does in Linux

查看:75
本文介绍了如何在Windows 7,Visual C ++上搜索文件夹中的变量,如fgrep在Linux中的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个函数... subProcess()作为工具包的一部分提供,我必须在磁盘系统中找到该函数的常量,包中的其他位置,以便调整它们。  VC ++中的"查找"似乎只能在
范围内搜索屏幕上的文件,而 我需要在V ++中搜索文件夹。

I have a function... subProcess() which is supplied as part of a kit, and I must find where the constants are for that function, somewhere else in the package, across the disk system, so as to adjust them.  The 'find' in VC++ only seems to search within the files onscreen, whereas  I need to search in the folders from within V++.

'find'和'findstr'似乎都不适用于Windows 7。

Neither the 'find' nor 'findstr' seem to be working on windows 7.

推荐答案

Visual Studio有一个"在文件中查找"命令,可以搜索您指定的文件夹的内容。

Visual Studio has a Find in Files command that will search the contents of folders you specify.

或者您可以尝试免费的"WinGrep"实用程序:

Or you can try the free 'WinGrep' utility:

http://www.wingrep。 com /


这篇关于如何在Windows 7,Visual C ++上搜索文件夹中的变量,如fgrep在Linux中的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆