Command: FileAttrClear
- Updated2023-02-21
- 2 minute(s) read
Command: FileAttrClear
Deletes file 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. |
Do not set or delete the "faOffline" property because these are files that were moved from an archiving system to an offline memory.
Example
The following example undoes the read-only setting for all files in the SCRIPT user folder.
| VBScript | Python |
Call FileAttrClear(ScriptReadPath & "*.*","faReadOnly")
Related Topics
Command: DataFileDelete | Command: DataFileLstGet | Command: DataFileMove | Command: DataFileRename | Command: DirLstWrite | Command: FileAttrSet | Command: FileClose | Command: FileCloseAll | Command: FileCopy | Command: FileDateSet | Command: FileDelete | Command: FileMove | Command: FileOpen | Command: FileRename | Function: DataFileSize

