🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12012

Change File Attribute

#12012
From: MEMDB
Date: Tue, 06 Jan 2004 10:34
12 lines
1245 bytes
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: <3ffa8fbf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,52a102d42fa80b9a,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-06 02:39:27 PST
From: "MEMDB" <adv@memdb.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Change File Attribute
Date: Tue, 6 Jan 2004 18:34:11 +0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 219.77.13.182
Message-ID: <3ffa8fbf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073385407 219.77.13.182 (6 Jan 2004 02:36:47 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail