禁用“查找” Windows 上的命令

发布于 2025-01-03 21:37:49 字数 340 浏览 3 评论 0原文

我刚刚下载了一些适用于 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

只为一人 2025-01-10 21:37:49

将您的 linux 像 find 一样放在 windows find 之前的路径中。

Place your linux like find in the path before the windows find.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文