zoukankan      html  css  js  c++  java
  • win10在当前目录下 打开cmd或者命令行窗口

    新建一个txt文档,复制下面的代码粘贴进去,选择【文件】-【另存为】,文件类型不要选txt,而要选择【所有文件】,然后文件命名为open cmd here.reg
    双击运行 ,即将该命令注册到注册表。
    然后 右键 就可以看到 “Open cmd here as Admin”,相当于“在此处打开命令行” 。

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOTDirectoryshell unas]
    @=Open cmd here as Admin
    HasLUAShield=
    [HKEY_CLASSES_ROOTDirectoryshell unascommand]
    @=cmd.exe /s /k pushd %V
    [-HKEY_CLASSES_ROOTDirectoryBackgroundshell unas]
    [HKEY_CLASSES_ROOTDirectoryBackgroundshell unas]
    @=Open cmd here as Admin
    HasLUAShield=
    [HKEY_CLASSES_ROOTDirectoryBackgroundshell unascommand]
    @=cmd.exe /s /k pushd %V
    [-HKEY_CLASSES_ROOTDriveshell unas]
    [HKEY_CLASSES_ROOTDriveshell unas]
    @=Open cmd here as Admin
    HasLUAShield=
    [HKEY_CLASSES_ROOTDriveshell unascommand]
    版权声明:本文为CSDN博主「songshiping01」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/songshiping01/article/details/90704723

  • 相关阅读:
    North North West
    HDU-5387 Clock
    HDU-1036 Average is not Fast Enough!
    Growling Gears
    HDU-5375 Gray code
    HDU-5373 The shortest problem
    hdu-5364 Distribution money
    UVA
    HDU-5363 Key Set
    HDU-5326 Work
  • 原文地址:https://www.cnblogs.com/thrseven/p/15125336.html
Copyright © 2011-2022 走看看