Article View: borland.public.cppbuilder.nativeapi
Article #12013Re: Change File Attribute
From: Mark
Date: Tue, 06 Jan 2004 12:47
Date: Tue, 06 Jan 2004 12:47
28 lines
1567 bytes
1567 bytes
Hi - Check out this link. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/setfileattributes.asp as well as the FILE_ATTRIBUTE_NORMAL parameter. Hope this helps - Mark >Hi there, > >I use SHFILEOPSTRUCT to copy a directory to another directory. However, if >I copy from CD-ROM, all copied files in the directory will be set READONLY >(because all files in CD-ROM are readonly). Any method to set all files in >the directory NOT Readonly after copying from CD-ROM (i.e., change the >attributes of all files to be writable)? > >Thank in advance. >-- >Enoch Ng >http://www.memdb.com > >
Technical Details
Message-ID:
<3ffabc82$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!tethys.csu.net!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ffa8fbf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,52a102d42fa80b9a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-06 05:55:18 PST From: "Mark" <mark_taylor@mindspring.com> Sender: "Mark" <mark_taylor@mindspring.com> Reply-To: "Mark" <mark_taylor@mindspring.com> Subject: Re: Change File Attribute Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 208.61.191.68 References: <3ffa8fbf$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <3ffabc82$1@newsgroups.borland.com> Date: 6 Jan 2004 05:47:46 -0700 X-Trace: newsgroups.borland.com 1073396866 207.105.83.66 (6 Jan 2004 05:47:46 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!tethys.csu.net!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail