• 在此处打开OpenPowershellHere右键 在此处打开命令窗口右键


    windows 10  右键添加在本文件夹打开cmd  或prowershell

    在此处打开OpenPowershellHere右键

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOTDirectoryshellOpenPowershellHere]
    @="OpenPowershellHere"
    "Icon"="powershell.exe"
    [HKEY_CLASSES_ROOTDirectoryshellOpenPowershellHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process powershell.exe""
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenPowershellHere]
    @="OpenPowershellHere"
    "Icon"="powershell.exe"
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenPowershellHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process powershell.exe""
    [HKEY_CLASSES_ROOTDriveshellOpenPowershellHere]
    @="OpenPowershellHere"
    "Icon"="powershell.exe"
    [HKEY_CLASSES_ROOTDriveshellOpenPowershellHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process powershell.exe""
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenPowershellHere]
    @="OpenPowershellHere"
    "Icon"="powershell.exe"
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenPowershellHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process powershell.exe""

    在此处打开命令窗口右键

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
    @="OpenCmdHere"
    "Icon"="cmd.exe"
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe""
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
    @="OpenCmdHere"
    "Icon"="cmd.exe"
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe""
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
    @="OpenCmdHere"
    "Icon"="cmd.exe"
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe""
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHere]
    @="OpenCmdHere"
    "Icon"="cmd.exe"
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHerecommand]
    @="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe""

    以上代码.保存为注册表文件 .reg  双击运行就可以了...

  • 相关阅读:
    《vue.js2.0从入门到放弃》学习之路
    动画统计图
    超简单的走马灯效果
    关于css那些常用却有点记不住的属性
    圣杯布局跟双飞翼布局
    最简单的http服务器(C#)
    sql union用法和sql union all用法,sql union效率
    存储过程函数中如何定义表变量,删除表变量内容
    C# 通过分析netstat an所得信息 查看本机所监听的端口 及判断某端口是否可用
    Microsoft .NET Framework 各版可再发行组件包
  • 原文地址:https://www.cnblogs.com/suizhikuo/p/9006591.html
Copyright © 2020-2023  润新知