zoukankan      html  css  js  c++  java
  • win10右键cmd打开当前目录

    说明

    转载于https://blog.csdn.net/linysuccess/article/details/79179799

    步骤

    • 新建txt文件并输入如下内容
    Windows Registry Editor Version 5.00
     
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellcmd_here]
     
    @="在cmd打开"
    "Icon"="cmd.exe"
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellcmd_herecommand]
     
    @=""C:\Windows\System32\cmd.exe""
     
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellcmdPrompt]
     
    @="在cmd打开"
     
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellcmdPromptcommand]
     
    @=""C:\Windows\System32\cmd.exe" "cd %1""
     
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellcmd_here]
     
    @="在cmd打开"
    "Icon"="cmd.exe"
     
     
     
    [HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellcmd_herecommand]
     
    @=""C:\Windows\System32\cmd.exe""
    
    • 将文件后缀改成reg,然后双击确认即可。

    问题

    可能会出现乱码问题,这个牵扯到Windows编码和记事本所采用的编码是不是同样的方式,如果有乱码直接打开注册表编辑器,逐个修改上述出现的文字就可以。

  • 相关阅读:
    封装图片处理类(缩略图)
    封装表单验证类
    魔术方法
    封装自己的smartyBC类
    快捷键
    unicode
    基本数据类型课上练习
    数制总结
    12.29.作业
    12.28作业
  • 原文地址:https://www.cnblogs.com/mirage-mc/p/12758228.html
Copyright © 2011-2022 走看看