Modify File Attributes

Demonstration script that checks to see if a file is read-only and, if it is not, marks it as read-only. Script must be run on the local computer.

Add to favorites
E-mail Twitter Digg Facebook
  • It doesn't work !
    1 Posts | Last post April 28, 2010
    • The good code is :
      If objFile.Attributes AND 1 Then
          objFile.Attributes = objFile.Attributes XOR 1 
      End If