Archived from groups: microsoft.public.windowsxp.general (
More info?)
"=?Utf-8?B?SmFtZXNfZGVhbg==?=" <Jamesdean@discussions.microsoft.com>
wrote in news:3C8576BB-08DA-4E84-96C5-8A13640C6A82@microsoft.com:
> Yeah well i notice that the problem seems to be because i copied
> backup files from a dvd. If i create a new project myself in
> installshield express the folders are deleted and renamed no problem
> but i cannot do this with my backup projects which to be honest is
> annoying. I have noticed my co-workers all have the same settings as i
> have on my computer so i guess this is just meant to work like this.
>
> "David Candy" wrote:
>
>> That because it's not your problem. Unless you make the folders read
>> only then they are not.
>>
>> --
>> ----------------------------------------------------------------------
>> ----------------------------
>>
http://webdiary.smh.com.au/archives/_comment/001075.htm...
>> ================================================= "James_dean"
>> <Jamesdean@discussions.microsoft.com> wrote in message
>> news:B8568064-A777-46E4-9027-AB7A1EA4D05D@microsoft.com...
>> > Tim,
>> > The problem is i am using installshield express and when i build
>> > and run the program it has to delete and then recreate folders but
>> > it cannot do it now because of this read only attribute problem. So
>> > maybe now you can see my difficulty.....
>> > any ideas?.
>> >
>> >
>> > "Tim Slattery" wrote:
>> >
>> >> "James_dean" <Jamesdean@discussions.microsoft.com> wrote:
>> >>
>> >> >I cannot change any folders read only attribute. I looked up on
>> >> >msdn and followed the workaround(change the registry then from
>> >> >the command promp change the folders read only property) but
>> >> >still no good. How can i resolve this?.
>> >>
>> >> The "Read-only" attribute is meaningless for folders. What you are
>> >> seeing is a "three-state" checkbox in its third state: grayed-out
>> >> with a check. It's trying to tell you that the option doesn't
>> >> really apply here.
>> >>
>> >> --
>> >> Tim Slattery
>> >> MS MVP(DTS)
>> >> Slattery_T@bls.gov
>> >>
>>
I'm not sure if this applies, but you mentioned copying from a CD. This
will set the RO attribute on the FILES in the folder. As mentioned by
others, the RO attribute on folders is ignored - but not the one on
files.
You can remove the RO attribute on all the files in the folder and its
subfolders by:
attrib -R yourfoldernamehere /S /D
If you do this often, you can merge the following .reg file, it will add
this to the right-click context menu for drives and directories:
-----------------
REGEDIT4
[HKEY_CLASSES_ROOT\Drive\shell\RemoveROattribute]
@="RemoveRO"
[HKEY_CLASSES_ROOT\Drive\shell\RemoveROattribute\command]
@="ATTRIB -R \"%1\" /S /D"
[HKEY_CLASSES_ROOT\Directory\shell\RemoveROattribute]
@="RemoveRO"
[HKEY_CLASSES_ROOT\Directory\shell\RemoveROattribute\command]
@="ATTRIB -R \"%1\" /S /D"
-----------------
(you can change the "RemoveRO" to whatever name for the command you want
displayed in the menu)