FileSystem.setFileAttribs() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to FileSystem Class Summary

Availability
Windows

Usage
mdm.FileSystem.setFileAttribs(filePath:String, attribute:String):Void

Parameters
filePath:String - Path of file to modify

attribute:String - Attribute identifier.

Returns
Nothing

Description
Sets/Unsets the attribute of the specified file to one of possible values:

+A sets the archive attribute
+H sets the hidden attribute
+R sets the read only attribute
+S sets the system attribute
-A unsets the archive attribute
-H unsets the hidden attribute
-R unsets the read only attribute
-S unsets the system attribute

Notes
None

Example Code
mdm.FileSystem.setFileAttribs("c:\\myText.txt", "+A");

mdm.FileSystem Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page