如何使用Windows搜索来搜索Jar文件? [英] How to search Jar files using Windows Search?

查看:170
本文介绍了如何使用Windows搜索来搜索Jar文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信当我们使用Win2K时,Windows搜索将搜索Jar文件以查找特定的类,但这在XP中似乎不起作用.有谁知道如何在XP中启用此功能?

I believe back when we were on Win2K, Windows Search would search through Jar files to locate specific classes but this doesn't appear to work in XP. Does anyone know how to enable this in XP?

请注意,要在Win2K中进行搜索,我们只为文件输入* .jar,为搜索文本字符串输入"ClassABC",搜索将返回任何包含类文件的jar文件,其中标题包含"ClassABC".

Note, to do the search in Win2K we just entered *.jar for the files and "ClassABC" for the search text string and the search would return any jar files containing class files where the title contained "ClassABC".

推荐答案

将其添加到文本文件,保存文件,将扩展名更改为.reg,双击以添加到注册表,您应该可以...可以搜索文件名或内容,它应该显示具有类名的jars

Add this to a text file, save file, change the extension to .reg, double click to add to registry and you should be ok...you can search on file name or content and it should show jars that have class names

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.jar\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

剩下的唯一一件事是注销并重新登录Windows,它应该对您来说很好用,请参阅 http ://support.microsoft.com/kb/309173 了解更多详细信息

The only thing left is to logout and log back into windows and it should work fine for you, see http://support.microsoft.com/kb/309173 for more details

这篇关于如何使用Windows搜索来搜索Jar文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆