Changing the file properties on the disk

How can I change the read only access of a disk file into read and write mode through a VB program.
Who is Participating?
watyConnect With a Mentor Commented:
Change the needed attributes :

SetAttr "TESTFILE", vbNormal

SetAttr "TESTFILE", vbHidden + vbReadOnly      ' Set hidden and read-only
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.