
On Thu, 19 Dec 2013 18:15:09 +0100, Michael Orlitzky
On 12/19/2013 01:40 AM, Tim C. Schroeder wrote:
I think this is what you're looking for:
http://hackage.haskell.org/package/directory-1.2.0.1/docs/System-Directory.h...
getAppUserDataDirectory will give me the user's configuration directory (ala $HOME/.htsnrc), but not the global one (whatever I'm supposed to use instead of /etc on Windows).
You could use the environment variable AllUsersProfile[0] for this. The directory package should be extended with a function getAppGlobalDataDirectory. Regards, Henk-Jan van Tuyl [0] http://environmentvariables.org/AllUsersProfile -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --