SETATTR(pathname, attributes)

Defines the attributes of a file or directory.


pathnameThe valid filename and path.
attributesThe new attribute settings.

REMARKS
* Sets attributes for the file or directory specified by the pathname
* The equivalent .NET statement is Microsoft.VisualBasic.FileSystem.SetAttr
* For the Microsoft documentation refer to docs.microsoft.com

SetAttr("C:\Temp.txt",2) 
SetAttr("C:Temp.txt",vbFileAttribute.vbNormal)
SetAttr("C:\Temp.txt",vbFileAttribute.vbNormal)

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top