如何获得某一个目录下的文件列表?
来源:互联网 发布:javascript 正则 转义 编辑:程序博客网 时间:2024/05/17 21:59
<script type="text/javascript">google_ad_client = "pub-8800625213955058";/* 336x280, 创建于 07-11-21 */google_ad_slot = "0989131976";google_ad_width = 336;google_ad_height = 280;//</script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
File MyDir = new File("C:/Windows/."); String[] FileNames = MyDir.list();