Le 26 f?vr. 05, ? 02:05, Daniel Berger a ?crit :

To be even more basic, what would be the equivalent of the UNIX 
"?/.my_app.rc"? File.join(Dir::APPDATA, "my_app.rc")?

Guillaume.


> 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
>
>