Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Files.SetFileExtensionHidden

Sets the hidden state for the file extension of a file or folder.

Component Version macOS Windows Linux Server iOS SDK
Files 12.0 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "Files.SetFileExtensionHidden"; Path; Value )   More

Parameters

Parameter Description Example
Path The native path to the file or folder to be checked. "/Users/John/Desktop/test.txt"
Value The new state.
Pass 1 to hide file or 0 to unhide file.
1

Result

Returns OK or error.

Description

Sets the hidden state for the file extension of a file or folder.

See also

Release notes

Blog Entries

This function is free to use.

Created 13th January 2022, last changed 13th January 2022


Files.SetExcludedFromBackup - Files.SetFinderLabel