如何从 Windows 资源管理器启动 PowerShell?

编程入门 行业动态 更新时间:2024-10-27 18:28:38
本文介绍了如何从 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+D 或 Ctrl+L) 并输入 powershell 或 powershell_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?

本文发布于:2023-11-03 19:53:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555939.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:资源管理器   Windows   PowerShell

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!