Re: Looking for a class similar to 'opendir' and 'readdir'
From: Ann (Ann_at_nospam.invalid)
Date: 12/29/04
- Next message: klynn47_at_comcast.net: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Previous message: Ramon: "Looking for a class similar to 'opendir' and 'readdir'"
- In reply to: Ramon: "Looking for a class similar to 'opendir' and 'readdir'"
- Next in thread: Ramon: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Reply: Ramon: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Dec 2004 04:49:14 GMT
"Ramon" <ramon@conexus.net> wrote in message
news:1104295048.910610.197000@z14g2000cwz.googlegroups.com...
> Hello:
>
> I need to write a simple utility which will navigate
> several subdirectories and query the file size of
> some files.
>
> I am very familiar with the Unix 'opendir' and 'readdir'
> functions, and that's what I am looking for, except
> that this time I need something for Java, and the
> utility will be run on a Windows PC.
File dir = new File(".");
String files[] = dir.list();
> Also: has Java been able to come up with a working
> 'chdir()' (on Windows, that is)? Last time I checked
> the C++ chdir function in Windows exists and succeeds
> but it is bogus, since doesn't really change the program's
> default directory.
You don't need this, why do you think you want it?
>
> TIA,
>
> -Ramon F Herrera
>
- Next message: klynn47_at_comcast.net: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Previous message: Ramon: "Looking for a class similar to 'opendir' and 'readdir'"
- In reply to: Ramon: "Looking for a class similar to 'opendir' and 'readdir'"
- Next in thread: Ramon: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Reply: Ramon: "Re: Looking for a class similar to 'opendir' and 'readdir'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|