在整个系统中搜索文件扩展名 [英] Searching for file extension in entire system

查看:76
本文介绍了在整个系统中搜索文件扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个托盘应用程序.用户可以勾选托盘应用程序中可用的文件扩展名进行搜索.因此,当用户勾选文件扩展名时,(让我们假设 .java)托盘应用程序必须在整个 Windows 操作系统系统中搜索所有 .java 文件..即 C:、D:、E: 等.我怎么能做到这一点???

I have a created a tray application. User can tick the file extensions which are available in the tray application to search. Therefore, when a user ticks a file extension, (letz assume .java) the tray application must search for all .java files in entire windows OS system.. i.e C:, D:, E:, etc. How could i do this ???

推荐答案

我想这就是你要找的..

I think this is what you are looking for..

http://download.oracle.com/javase/tutorial/必不可少的/io/find.html

实际上是一个简单的谷歌搜索:)

A simple google search actually :)

这篇关于在整个系统中搜索文件扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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