博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
vista任务管理器_在Vista中更改批处理文件的默认编辑器
阅读量:2510 次
发布时间:2019-05-11

本文共 1800 字,大约阅读时间需要 6 分钟。

vista任务管理器

vista任务管理器

Have you ever noticed that the File Types option was completely removed from Vista, and there’s no built-in way to change the editor for many file types? Sure, you can change the default application used to open the file, but you can’t change what happens when you right-click / edit.

您是否曾经注意到Vista中已完全删除“文件类型”选项,并且没有内置的方法来更改许多文件类型的编辑器? 当然,您可以更改用于打开文件的默认应用程序,但无法更改右键单击/编辑时发生的情况。

You can either directly hack the registry, or there’s a freeware utility that adds the functionality back… we’ll show you how to do both methods.

您可以直接修改注册表,也可以使用免费软件实用程序将其添加回功能中……我们将向您展示如何使用这两种方法。

image

Using the Registry Hack Method

使用注册表黑客方法

Open up regedit.exe through the start menu search or run box, and then browse down to the following key:

通过开始菜单搜索或运行框打开regedit.exe,然后向下浏览至以下键:

HKEY_CLASSES_ROOT\batfile\shell\edit\command

HKEY_CLASSES_ROOT \ batfile \ shell \ edit \ command

image

Double-click on the (Default) key to open it up, and then replace the path for notepad with the full path for your preferred editor, making sure to leave a space and then the %1 at the end (which inserts the current file name into the path)

双击(默认)键将其打开,然后用首选编辑器的完整路径替换记事本的路径,确保留一个空格,然后在末尾添加%1(用于插入当前文件)名称进入路径)

Using the Easy Method

使用简易方法

Using the freeware and open-source Types utility, you can easily change file types… just find the “bat” extension in the list, or filter by the “batfile” class, then open up the properties. You can easily replace the editor by just using the yellow icon next to the drop-down and choosing your preferred editor.

使用免费软件和开放源代码类型实用程序,您可以轻松更改文件类型……只需在列表中找到“ bat”扩展名,或按“ batfile”类进行过滤,然后打开属性。 您只需使用下拉菜单旁边的黄色图标并选择所需的编辑器,即可轻松替换该编辑器。

image

Of course, you can use this application to change the default editor for any file type, not just batch files.

当然,您可以使用此应用程序更改任何文件类型的默认编辑器,而不仅仅是批处理文件。

翻译自:

vista任务管理器

转载地址:http://blcwd.baihongyu.com/

你可能感兴趣的文章
将PHP数组输出为HTML表格
查看>>
Java中的线程Thread方法之---suspend()和resume() 分类: ...
查看>>
经典排序算法回顾:选择排序,快速排序
查看>>
BZOJ2213 [Poi2011]Difference 【乱搞】
查看>>
c# 对加密的MP4文件进行解密
查看>>
AOP面向切面编程C#实例
查看>>
AngularJs学习笔记-慕课网AngularJS实战
查看>>
数据库三大范式
查看>>
工作总结之二:bug级别、优先级别、bug状态
查看>>
访问修饰符、封装、继承
查看>>
更换pip源到国内镜像,提升pip下载速度.
查看>>
POJ 2265 Bee Maja (找规律)
查看>>
Kendo MVVM 数据绑定(七) Invisible/Visible
查看>>
[zz]kvm环境使用libvirt创建虚拟机
查看>>
bzoj1059 [ZJOI2007]矩阵游戏
查看>>
插入返回ibatis 的selectKey 实现插入数据后获得id
查看>>
vim 程序编辑器
查看>>
LIS(单调队列优化 C++ 版)(施工ing)
查看>>
刚接触Vuex
查看>>
四种加载React数据的技术对比(Meteor 转)
查看>>