Daniel Berger wrote:
> Hi all,
>
> The Win32 Utils Team is happy to announce the first release of
> win32-dir.
>
> What is it?
> ===========
> A series of extra constants for the Dir class that define special
> folders on Win32 systems.  That's it.
>
> Like what?
> ==========
> For example, if you want the "Windows" directory on your system, you
> could do this:
>
> require "win32/dir"
> p Dir::WINDOWS
>

Here's a bit more info in case that was too vague.

The list of constants (and a few examples):

Dir::ADMINTOOLS
Dir::COMMON_ADMINTOOLS
Dir::APPDATA
Dir::COMMON_APPDATA
Dir::COMMON_DOCUMENTS
Dir::COOKIES
Dir::HISTORY
Dir::INTERNET_CACHE
Dir::LOCAL_APPDATA
Dir::MYPICTURES
Dir::PERSONAL                # Same as "My Documents"
Dir::PROGRAM_FILES           # e.g. C:\Program Files
Dir::PROGRAM_FILES_COMMON
Dir::SYSTEM                  # e.g. C:\Windows\System32
Dir::WINDOWS

The following may or may not be defined on your system:

Dir::ALTSTARTUP
Dir::BITBUCKET
Dir::CDBURN_AREA
Dir::COMMON_ALTSTARTUP
Dir::COMMON_DESKTOPDIRECTORY
Dir::COMMON_FAVORITES
Dir::COMMON_MUSIC
Dir::COMMON_PICTURES
Dir::COMMON_PROGRAMS
Dir::COMMON_STARTMENU
Dir::COMMON_STARTUP
Dir::COMMON_TEMPLATES
Dir::COMMON_VIDEO
Dir::CONTROLS
Dir::DESKTOP
Dir::DESKTOPDIRECTORY
Dir::DRIVES
Dir::FAVORITES
Dir::FONTS                 # e.g. C:\WINDOWS\Fonts
Dir::INTERNET
Dir::MYDOCUMENTS
Dir::MYMUSIC
Dir::MYVIDEO
Dir::NETHOOD
Dir::NETWORK
Dir::PRINTERS
Dir::PRINTHOOD
Dir::PROFILE
Dir::PROFILES
Dir::PROGRAMS
Dir::RECENT
Dir::SENDTO
Dir::STARTMENU
Dir::STARTUP
Dir::TEMPLATES

Regards,

Dan