From: Michael Kelly Date: 2002-01-05T05:53:21+09:00 Subject: [ruby-talk:30241] Re: How to check free diskspace? btw-just to follow up, I took a look at the Python 'ntpath' module used on Windows platforms by os.path and it did make some attempt to deal with things like UNC filenames and such, so I may have undersold it. Although they didn't completely handle the drive letter issue it would probably still make a good starting point if someone were inclinded to write a similar module in Ruby. The calls for getting free drive space per se are in a Win32 API module but the more general file functions are in ntpath. Here's a list of the functions implemented: __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","islink","exists","isdir","isfile","ismount", "walk","expanduser","expandvars","normpath","abspath","splitunc"] Mike -- "I don't want to belong to any club that would have me as a member." -- Groucho Marx