How can I change folder Attributes?

micher

New Member
Licensed User
Hello experts!

I have to remove the read only attribute from some folders but I have no idea how to do it. Setting attributes with the FilesEx on files works really fine but I didn't find anything regarding setting folder attributes anywhere.
Any hints for me?

Many thanks in advance!
 

micher

New Member
Licensed User
I don't think that you will be able to do it without writing a small library.

Oh... That was not the answer I wanted to hear because I am not a pro and a little in hurry. :(
But thank you very much for your support!
 

Basic4Life

Member
Licensed User
Here's a "way" to get/set folder attributes without a new library. It only uses the Door Library.

It should work in theory. I only managed to Set and Remove the "Hidden" attribute on the test folder on my device, but I couldn't set the folder to ReadOnly manually either so I didn't really test that, so you have to test it on your ReadOnly folder for yourself.
 

Attachments

  • Folder Attributes.zip
    5.5 KB · Views: 374
Top