一、我们在想要到达的目录上按住shift键并点击鼠标右键。看到了吗,这时候在弹出菜单里多了一个选项,就是“在此处打开命令窗口”,我们点开看一下。

二、不过有时候我们需要以管理员的权限来打开命令行,这时候我们需要自行添加一个脚本,方便操作,你可以复制下面的代码然后保存为.reg格式。

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Drive\shell\runas]
[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]

运行保存好的reg文件,进行注册表导入

最新文章

  1. bzoj1503--treap
  2. apachetop 实时监测web服务器运行状况
  3. Flume(4)实用环境搭建:source(spooldir)+channel(file)+sink(hdfs)方式
  4. Android快速开发框架LoonAndroid (转)
  5. unity3d - new 不出的单例
  6. Windows环境下使用cygwin ndk_r9c编译x264
  7. COJN 0484 800502电池的寿命
  8. jquery实现仿select列表的即时搜索及拼音搜索
  9. Vuex 教程案例:计数器以及列表展示
  10. SSM-SpringMVC-03:SpringMVC执行流程一张有意思的图
  11. VS2010动态链接库的生成及调用(C++)
  12. 一次基于innobackupex备份及binlog的单表恢复操作
  13. PE知识复习之PE的重定位表
  14. Sublime text 3搭建Python开发环境及常用插件安装
  15. 二 分析easyswoole源码(启动服务)
  16. 内存大厂威刚发布速度高达550MB/s的固态硬盘SU750
  17. 如何为APK签名?
  18. mybatis 异常 too many connections 解决方案 mysql
  19. Jquery判断IE6等浏览器的代码
  20. [移动端WEB] 移动端网站响应式布局之"rem",CSS3 rem使用方式

热门文章

  1. C调用java方法签名
  2. V$INSTANCE 字段说明
  3. Threejs 官网 - 怎样执行本地的东西(How to run things locally)
  4. JS 正则表达式的位置匹配ZZ
  5. 《AndroidStudio每日一贴》3.高速切换代码风格、配色方案和键盘
  6. HDU - 4054 Hexadecimal View (2011 Asia Dalian Regional Contest)
  7. UVA - 10043 Chainsaw Massacre
  8. firewall 允许app访问网络
  9. ROS常用知识指南
  10. POJ 3260 DP