DIAdem API Reference

Command: FolderAttrSet

  • Updated2023-02-21
  • 2 minute(s) read

Display all  Hide all

Sets folder attributes.

Call FolderAttrSet(FSSourceName, FSAttrType)

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.

VBScriptPython

 

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