Chinaunix首页 | 论坛 | 博客
  • 博客访问: 293920
  • 博文数量: 748
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 8270
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-12 17:57
文章分类

全部博文(748)

文章存档

2010年(748)

我的朋友

分类:

2010-09-26 20:09:07

  症状:   1- 双击txt用notepad打开结果自动打印   2- 在windows explorer 中点选txt文件,vista ribbon工具条上出现2个打印按钮,其中一个打印按钮的图标是notepad   解决:进入注册表,发现hkey_classes_roottxtfileshell仅有 print和printto两个键,而缺少了open键,于是添加opencommand键,将(默认)键值改为%systemroot%system32notepad.exe %1   注:如果直接在shell下新建opencommand键,那么其下的(默认)键值的类型是reg_sz,而这里需要的类型是reg_expand_sz,无法直接修改(默认)键值类型,也不能新建一个reg_expand_sz类型的键然后再命名为(默认),可以通过导出注册表,把键名改为@即可。如下:   [hkey_classes_roottxtfileshell">   [hkey_classes_roottxtfileshellopen">   [hkey_classes_roottxtfileshellopencommand">   @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,   00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,   4f,00,54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,   00,00,00 如果喜欢vista下双击txt文件用记事本打开自动打印的问题解决请收藏或告诉您的好朋友.
阅读(187) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~