以不同的名称调用可执行文件 [英] Calling an executable by a different name

查看:21
本文介绍了以不同的名称调用可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为 Windows 安装了 QT,它使用 mingw.它有这个 mingw32-make,但我希望能够在我想使用它时调用 make .. 因为输入它很长.有人知道怎么做吗?

I installed QT for windows, and it uses mingw. There it has this mingw32-make, but I would like to be able to just call make whenever I want to use it.. as it is rather long to type that. Anyone know how to do this?

我知道我可以制作 mingw32-make 的副本,并将其重命名为 make 以使某些东西能够正常工作,但这实在是太蹩脚了.有没有更优雅的方式.

I know I can make a copy of mingw32-make, and rename it make in order to get something to work, but that is just so lame. Is there a more elegant way.

泰德.

推荐答案

在PATH"中创建一个批处理文件,为您调用 mingw32-make 文件.

Create a batch file that is in your "PATH" that calls the mingw32-make file for you.

这篇关于以不同的名称调用可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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