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

From: Ramon (ramon_at_conexus.net)
Date: 12/29/04


Date: 28 Dec 2004 20:37:28 -0800

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.

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.

TIA,

-Ramon F Herrera



Relevant Pages

  • Re: How about the future of VC++/MFC
    ... And all those versions of Unix, with names that ended in -ix but which couldn't call ... There are more Windows boxes out there now than the sum of ALL computers made by ALL ... software cost money. ... it's OK to be locked into Java but not into MFC? ...
    (microsoft.public.vc.mfc)
  • Re: What am I doing wrong?
    ... Unix workstations. ... it must be mean ol' Windows' fault that anything's going ... I had MUCH more problems installing Java on Linux/Unix systems ...
    (comp.lang.java.help)
  • Re: Calling a Windows DLL
    ... We really don't want the java app hitting the database directly ... > In the Windows world we simply make sure our external interface DLL ... you posted on a UNIX newsgroup, this is presumably a UNIX questio, but ...
    (comp.unix.programmer)
  • Re: C# is a proprietary programming language ??
    ... Java tried this too, of course. ... for calling the Windows API, SUN sued, and won. ... Java is the language where you can write code on one operating system ... Of course, if you write code in C# on Windows, you can't run it on UNIX. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Strange problem when using a class module in VBScript
    ... > problems and is faster than Windows and VB/VBA. ... > which is essentially their version of Java. ... > The Wintel platform has been a series of compromises to preserve backwards ... Unix boxes are often faster, but it has nothing to do with Java. ...
    (microsoft.public.vb.general.discussion)