Command: FolderAttrSet
- Updated2023-02-21
- 2 minute(s) read
Command: FolderAttrSet
Sets folder attributes.
Input Parameters
FSSourceName |
Specifies the source file or source folder for DIAdem file and folder commands. |
FSAttrType |
Specifies the file attribute or the folder attribute. |
Example
The following example enables read-only protection for all subfolders that start with the letter L in the SCRIPT user folder.
| VBScript | Python |
Call FolderAttrSet(ScriptReadPath & "L*", "faReadOnly")
Related Topics
Command: FolderAttrClear | Command: FolderCopy | Command: FolderCreate | Command: FolderDelete | Command: FolderMove | Command: FolderRename | Command: FolderUnzip | Command: FolderZip | Command: PathAddTrailingBackslash

