The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

How to read a directory. Please help!!!

Posted by ThabaniZ on July 24, 2000 at 4:29 AM

I want to read a directory but I have no idea how to go about it. The
directories are as follows:

c:\Cms\Modem\1\Daily....

c:\Cms\Modem\2\Daily....

c:\Cms\Modem\3\Daily....

c:\Cms\Modem\4\Daily....

c:\Cms\Modem\5\Daily....

c:\Cms\Modem\6\Daily....

Under Daily there are a number of files. Now my objection is to find
out if there's any information in those files by checking the number
of bytes for Daily directory.

Please help. Still a novice.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us