Re: Looking for a class similar to 'opendir' and 'readdir'

From: Ann (Ann_at_nospam.invalid)
Date: 12/29/04


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
>



Relevant Pages

  • Re: combo boxes
    ... If you used a query it is possible to have designed the query to not allow ... Does your subform display data from the same table as you main form? ... Subforms are usually used to display data in a separate table ... >> navigate to the last record and then once more to go to a new record. ...
    (microsoft.public.access.forms)
  • Re: Parenthasis issue
    ... Press Ctrl+G to navigate to the Immediate window ... Navigate to the Documenter ... Click the Queries tab and select the problematic query ... an extra closing parenthasis ")". ...
    (microsoft.public.access.queries)
  • Re: Record navigation with Paging
    ... should be able to navigate with single record, ... So i would like to build the custom ... DataView to accomodate these requirement. ... >> I was looking the msdn sample:(Paging through a query ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Query gets first record value only
    ... > The purpose of this query is to limit the records in the combo box to ... > also display the combo-box value for the current record (the first ... > only executing for the first record that displays. ... > Is there a way to make this query re-execute each time I navigate to ...
    (microsoft.public.access.forms)
  • Re: Export like a Save As
    ... > acExport" for exporting a Query but emulating a Save As. ... > the PopUp form allows the user to navigate into his or her ...
    (microsoft.public.access.formscoding)