Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderItem class.
FolderItem.SetFileFlagsMBS(flags as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS MacClassic Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Sets the fdFlags of a file. Returns an error code (or zero if no error occured). Possible error conditions include "disk is write protected" and "file not found".
When changing flags of a file, use GetFileFlags to get the original flags, then clear or set the flags by using BitwiseAnd and BitwiseOr and call SetFileFlags to set the new flags.
Some examples using this method:
Blog Entries
The items on this page are in the following plugins: MBS MacClassic Plugin.