7 三月, 2005
Windows XP中有时无法搜索包含一个词或短语的文件
微软官方声明: Using the "A word or phrase in the file" search criterion may not work
解释了一大把,就是不承认这是个bug。微软设计操作系统时,假定将来的使用者是傻瓜,所以设计出来的Windows系列使用倒也方便。可是不应该实行“愚民”政策,明明选的是“所有文件”,却偷偷过滤(filter)掉不认识的文件类型。“我不知道的就是不存在的”,典型的经验主义,白痴逻辑。这样发展下去,某一天,我只能查找到微软希望我们得到的内容了。
诡计被识破,微软也只好悻悻地提出解决办法。第一种方法,需要用户一个一个地注册那些文件类型,累死你,还不给钱;第二种方法是安装Windows XP的service pack 2,然后配置sp2新增的“索引未知类型文件”选项(Index file types with unknown extensions)。我比较担心安装新的service pack,还在使用windows 2000的时候,我某次自动更新,安装了sp4,结果系统报告我office xp未被激活,害的我又crack了一次。
于是又google了一把,google真是好啊,给了我一个网站:"Troubleshooting Windows XP, Tweaks and Fixes for Windows XP",第136项"Search for All File Types",是修改注册表的,具体内容:
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000001
导入后,搜索就正常了。我把文件后缀改成.ddd,也一样可以找到。Great!
上面提到的这个网站,自称“Windows XP Support Center“ 有许多修改Windows XP系统的Tips和解决稀奇古怪问题的方法,值得关注。
最新回复
For man, when perfected, is the best of animals, but when separated from law and justice, he is the worst of all, since armed injustice is the more dangerous, meant to be used by intelligence and virtue, he is the most unholy and savage of all animals, and the worst of full of lust and gluttony. by instructions to play backgammon
作者 backgammon 04 四月 2005, 16:09to 索笑:
不需要重启。你可以打开注册表,确认此value已经被正确修改。xp sp1上我测试过,是可以使用的。xp sp2的系统上,你可以直接修改索引服务的属性(无需启动索引服务)
因为utblog发表文章的时候,错误地过滤了所有的"/"字符,上面的注册表路径应该是:HKEY_LOCAL_MACHINE/
SYSTEM
CurrentControlSet
Control
ContentIndex
发表评论



