How do I set file attributes?

Chad J chadjoan at __spam.is.bad__gmail.com
Sun Jul 29 14:32:09 PDT 2012


On 07/29/2012 04:55 PM, Jonathan M Davis wrote:
> On Sunday, July 29, 2012 16:47:50 Chad J wrote:
>> std.file seems to have a getAttributes function, but I see no
>> corresponding setAttributes function.  What do I do if I want to copy
>> the attributes from one file to another?
>
> std.file does not provide that functionality. You'll need to use whatever C
> functions your OS provides to do that.
>
> - Jonathan M Davis

OK thanks.

Enhancement request made:
http://d.puremagic.com/issues/show_bug.cgi?id=8465


More information about the Digitalmars-d-learn mailing list