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.

 
 
 
 
 
(0)
Add to favorites
Storage
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • 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