Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > SetAttr Statement > Example - SetAttr Statement
Current Help File: PC-DMIS Basic (View Core Help)
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