如何从 Windows 资源管理器启动 PowerShell? [英] How do I start PowerShell from Windows Explorer?

查看:36
本文介绍了如何从 Windows 资源管理器启动 PowerShell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 Windows 资源管理器的特定文件夹中启动 PowerShell,例如右键单击文件夹并有一个选项,例如在此文件夹中打开 PowerShell"?

Is there a way to start PowerShell in a specific folder from Windows Explorer, e.g. to right-click in a folder and have an option like "Open PowerShell in this Folder"?

每天第一次运行 MSBuild 时必须将目录更改为我的项目文件夹真的很烦人.

It's really annoying to have to change directories to my project folder the first time I run MSBuild every day.

推荐答案

在 Windows 资源管理器中,只需转到顶部的地址栏(键盘快捷键:Alt+DCtrl+L) 并输入 powershellpowershell_ise 并按 Enter.PowerShell 命令窗口将打开,其中包含当前目录.

In Windows Explorer, just go to the Address Bar at the top (keyboard shortcuts: Alt+D or Ctrl+L) and type powershell or powershell_ise and press Enter. A PowerShell command window opens with the current directory.

这篇关于如何从 Windows 资源管理器启动 PowerShell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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