windows运行对话框_如何在Windows运行对话框中添加文本快捷方式?

通过修改系统路径或创建快捷方式,用户可以将自己的应用程序如NetBeans添加到Windows运行对话框的快捷启动列表中,方便快速启动。只需将NetBeans的安装目录添加到系统路径,或在已存在于系统路径的位置创建指向NetBeans可执行文件的快捷方式。
摘要由CSDN通过智能技术生成
windows运行对话框

windows运行对话框

Windows comes prepackaged with a ton of handy run-dialog shortcuts to help you launch apps and tools right from the run box; is it possible to add in your own custom shortcuts?

Windows预包装了许多方便的运行对话框快捷方式,可帮助您从运行框中直接启动应用程序和工具。 是否可以添加自己的自定义快捷方式?

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Nic finds the run-dialog shortcuts to be handy and wants to expand upon them:

超级用户读者Nic发现运行对话框快捷键很方便,并希望对其进行扩展:

When I hit Windows+R, I can type in calc and get a calculator really quickly. Same thing for mspaint. My question is, how do I adjust this so I can type “netbeans” and have it open the program?

当我按下Windows + R时,我可以输入calc并很快得到一个计算器。 对于mspaint也是一样。 我的问题是,我该如何调整它以便键入“ netbeans”并打开程序?

If you’re a keyboard ninja, having super speedy access to your favorite apps in this fashion would be handy. How do you go about it?

如果您是键盘忍者,那么以这种方式快速访问喜爱的应用程序将非常方便。 你如何去做?

答案 (The Answer)

SuperUser contributor John T offers a quick and simply way to accomplish the shortcut addition:

超级用户贡献者John T提供了一种快速简便的方法来完成快捷方式添加:

The easiest option would be to add the following location to your path variable:

最简单的选择是将以下位置添加到您的path变量中

C:\Program Files\NetBeans X.X.X\bin
 C:\Program Files\NetBeans X.X.X\bin

replace X.X.X with your version of Netbeans.

用您的Netbeans版本替换XXX。

Alternatively you could make a shortcut to the netbeans.exe executable in the above path, and place that shortcut in a location that’s already in your path (e.g. C:\Windows\System32).

或者,您可以在上述路径中为netbeans.exe可执行文件创建快捷方式,并将该快捷方式放置在路径中已经存在的位置(例如C:\Windows\System32 )。

If you’d like a step-by-step tutorial for editing the system PATH, make sure to check out How to Edit Your System PATH for Easy Command Line Access.

如果您想了解有关编辑系统PATH的分步教程,请务必查看如何编辑系统PATH以便进行轻松的命令行访问



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/131599/how-do-i-add-text-shortcuts-to-the-windows-run-dialog-box/

windows运行对话框

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值