From: Niklas Baumstark Date: 2008-08-01T02:13:37+09:00 Subject: Re: How to get special directories? Eric Hodel wrote: > On Jul 31, 2008, at 07:57 AM, Niklas Baumstark wrote: >> how can i get ruby to get me some special directories, such as the >> home-folder on linux or "documents and settings" on windows? is there >> already some functionality available to do this or will i have to use >> platform-native functions (for example COM on windows)? > > To get folders like 'documents and settings' on windows you need to > use win32api. Depending on language, these may have different names. okay so i have to make a platform switch... is it possible that you could give an example of what API-Call to do and how? Greetings, Niklas -- Posted via http://www.ruby-forum.com/.