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.
lesaAsked:
Who is Participating?
 
watyConnect With a Mentor Commented:
Change the needed attributes :

SetAttr "TESTFILE", vbNormal

SetAttr "TESTFILE", vbHidden + vbReadOnly      ' Set hidden and read-only
      
0
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.