zoukankan      html  css  js  c++  java
  • Win10右击添加“在此处打开命令窗口”

    桌面新建txt文档,拷贝如下代码:

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
    @="在此处打开命令提示符"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
    
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
    @="在此处打开命令窗口"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
    
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
    @="在此处打开命令窗口"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
    
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHere]
    @="在此处打开命令窗口"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""

    然后将此文件另存为名为“OpenCmdHere.reg”文件,注意选择编码方式,否则更改注册表不会成功。

    后双击打开“OpenCmdHere.reg”文件,按照提示选择确认,当出现注册表修改成功的提示,即说明修改成功了。

  • 相关阅读:
    tf-idf 解释
    maven 下载依赖失败
    eclipse 快捷键
    线程数 QPS
    resin conf
    静态成员 生命周期
    SuperMap 9D 实时数据服务学习笔记
    SuperMap iServer 在Linux 部署中问题总结
    在SuperMap iDesktop中如何快速追加记录行?
    Landsat8 卫星数据下载
  • 原文地址:https://www.cnblogs.com/caijiqi190731/p/14526919.html
Copyright © 2011-2022 走看看