禁用“查找” Windows 上的命令
我刚刚下载了一些适用于 Windows 的 linux 工具模拟器(例如“find”、“grep”等)作为 .exe 文件。我想禁用 Windows 常用的 find
命令,这样我就可以在命令行中输入 find
,而不是 linux-find 可执行文件的整个路径。 (是的,我将该目录添加到系统的 PATH 变量中,但 Windows 的 find 仍然是默认设置。)
有什么方法可以实现此目的吗?如果可以,是否有中断其他活动的危险? (例如,如果 Windows 资源管理器像往常一样找不到 find
,它的搜索会变得不稳定吗?)
规格:Windows 7
I've just downloaded some linux-tool emulators for windows (e.g. 'find', 'grep', etc.) as .exe files. I'd like to disable Windows' usual find
command so that I can just type find
into the command line, rather than the whole path to the linux-find executable. (Yes, I added the directory to my system's PATH variable, but Windows' find is still the default.)
Is there any way I can accomplish this, and if so, is there any danger of disrupting other activities? (e.g. Will Windows Explorer's search go wonky if it can't find find
as usual?)
Specs: Windows 7
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将您的 linux 像
find
一样放在 windowsfind
之前的路径中。Place your linux like
find
in the path before the windowsfind
.