zoukankan      html  css  js  c++  java
  • Win10添加右键在此处打开命令行

    通过添加注册表项,实现右击“在此处打开命令行功能”

    注册表位置:HKEY_CLASSES_ROOTDirectoryBackgroundshell

    win10系统用标识右键菜单打开命令行的键,键值639bc8(十六进制):

    ShowBasedOnVelocityId(显示标识)

    HideBasedOnVelocityId(隐藏标识)

    效果

      直接右键即可看到该选项,无需同时按住shift键。当然,按住右键也能显示,并且不影响右键打开powershell的功能。

    方法一:

    一键自动导入设置。将以下内容保存成reg文件,如a.reg,双击该文件自动导入设置。

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCMDHere]
    "ShowBasedOnVelocityId"=dword:00639bc8

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCMDHerecommand]
    @="cmd.exe /s /k pushd "%V""

    方法二:手工设置

    1. 我们用regedit或者其他注册表编辑器定位到HKEY_CLASSES_ROOTDirectoryBackgroundshell处,右击新建项“OpenCMDHere”,并在该项下,右击新建项“command”。

    2.我们在右边OpenCMDHere项下,右击新建REG_DWORD类型整数值。设置键名为“ShowBasedOnVelocityId”,键值为“639bc8”。

    3.进入command项下,设置键值为cmd.exe /s /k pushd "%V"

  • 相关阅读:
    POJ 3114 Tarjan+Dijkstra
    278. First Bad Version
    209. Minimum Size Subarray Sum
    154. Find Minimum in Rotated Sorted Array II
    153. Find Minimum in Rotated Sorted Array
    710. Random Pick with Blacklist
    767. Reorganize String
    524. Longest Word in Dictionary through Deleting
    349. Intersection of Two Arrays
    350. Intersection of Two Arrays II
  • 原文地址:https://www.cnblogs.com/ssooking/p/8536468.html
Copyright © 2011-2022 走看看