Example - SetAttr Statement

This example assumes that you have a TESTFILE.txt on your D drive.

Sub Main()
   SetAttr "D:\TESTFILE.txt",1 ' Here 1 represent the Read only mode
End Sub