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运行对话框