我怎样才能在一个特定的位置打开一个cmd窗口,而不必一直导航到我想要的目录?
当前回答
只需在地址栏中输入cmd,它将在当前文件夹中打开。
其他回答
在文件资源管理器中,按住Shift键,然后右键单击或按住要在该位置打开命令提示符的文件夹或驱动器,然后单击/点击此处打开命令提示符选项。
如果您使用的是Windows Vista或更高版本,请按住Shift键右键单击资源管理器中的文件夹图标,然后单击“在此打开命令窗口”或“在此打开PowerShell窗口”上下文菜单选项。
如果你已经在你想要的文件夹中,你可以执行以下操作之一:
[only Win8+] Click the Explorer Ribbon's File button, then click on "Open command window here" or "Open PowerShell window here". Shift-right-click on the background of the Explorer window, then click on "Open command window here" or "Open PowerShell window here". (recommended by Kate in the comments) [only Vista or Win7] Hold down Shift when opening the Explorer File menu, then click on "Open command window here". If you can't see the menu bar, open the File menu by pressing Alt-Shift-F - Alt-F to open the File menu, plus Shift.
对于Windows XP,使用dF提到的PowerToy来获得相同的功能。
为了在windows系统中获得更好的终端使用体验,可以使用cmder作为快捷方式:
下载cmder到你的系统 使快捷方式 type path_of_the_cder /START target_path_wish_to_run . type path_of_the_cder /START
例如:
\用户\<用户名>i\AppData\漫游\ cder \ cder .exe /START C:\SOURCE\
创建一个快捷方式,并编辑快捷方式的“Start In”属性到您想要cmd.exe启动的目录。
这个答案适用于windows 10。
在文件夹中创建一个命令提示符快捷方式,然后右键单击该快捷方式
and
推荐文章
- 在Sublime Text 2中使用Ctrl+D进行多个选择时,我如何跳过匹配?
- #定义WIN32_LEAN_AND_MEAN具体排除了什么?
- 最好的轻量级web服务器(只有静态内容)的Windows
- npm犯错!错误:EPERM:操作不允许,重命名
- 崇高的文本从命令行
- 如何保持Python脚本输出窗口打开?
- 使用.bat文件检查文件夹是否存在
- 如何查看Windows库(*.lib)的内容
- 在Windows中删除大文件夹最快的方法是什么?
- 顺序运行NPM脚本
- NPM卡住给出相同的错误EISDIR:对目录的非法操作,读取错误(本机)
- Windows 10环境变量太大
- 如何使用Windows命令行更改目录
- 如何在NERDTree中显示隐藏文件(以句点开始)?
- Objective-C for Windows