[nant-dev] Retrieve special folders

2005-04-16 Thread Thibaut Barrère
Hi guys,

I didn't found a way in the documentation to retrieve the system
special folders as exposed by
Environment.GetFolderPath(Environment.SpecialFolder enum), which would
be rather useful IMHO.

I was thinking about adding a function such as
utils::get-special-folder(foldername) to let the user retrieve them
(where foldername could be the ApplicationData,ProgramFiles etc,
probably case insensitive string, matching to the SpecialFolder enum).

Is there already code which achieves that ? If not I can contribute on this.


cheers

Thibaut
http://www.dotnetguru2.org/tbarrere


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] Retrieve special folders

2005-04-16 Thread Gert Driesen
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Thibaut Barrère
 Sent: zaterdag 16 april 2005 12:28
 To: nant-developers@lists.sourceforge.net
 Subject: [nant-dev] Retrieve special folders
 
 Hi guys,
 
 I didn't found a way in the documentation to retrieve the system
 special folders as exposed by
 Environment.GetFolderPath(Environment.SpecialFolder enum), which would
 be rather useful IMHO.
 
 I was thinking about adding a function such as
 utils::get-special-folder(foldername) to let the user retrieve them
 (where foldername could be the ApplicationData,ProgramFiles etc,
 probably case insensitive string, matching to the SpecialFolder enum).
 
 Is there already code which achieves that ? If not I can 
 contribute on this.

Too late, its already available here:
http://nant.sourceforge.net/release/latest/help/functions/environment.get-fo
lder-path.html ;-)

Gert



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Retrieve special folders

2005-04-16 Thread Thibaut Barrère
hehe, I deserve RTFM this time :)

2005/4/16, Gert Driesen [EMAIL PROTECTED]:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Thibaut Barrère
  Sent: zaterdag 16 april 2005 12:28
  To: nant-developers@lists.sourceforge.net
  Subject: [nant-dev] Retrieve special folders
 
  Hi guys,
 
  I didn't found a way in the documentation to retrieve the system
  special folders as exposed by
  Environment.GetFolderPath(Environment.SpecialFolder enum), which would
  be rather useful IMHO.
 
  I was thinking about adding a function such as
  utils::get-special-folder(foldername) to let the user retrieve them
  (where foldername could be the ApplicationData,ProgramFiles etc,
  probably case insensitive string, matching to the SpecialFolder enum).
 
  Is there already code which achieves that ? If not I can
  contribute on this.
 
 Too late, its already available here:
 http://nant.sourceforge.net/release/latest/help/functions/environment.get-fo
 lder-path.html ;-)
 
 Gert
 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers