EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  Files

Set File Attributes

Set attributes of specified file(s).

Description
Optionally, you may add comments here describing the purpose of this element.

Read only
Set 'Read Only' attribute. If it is not checked then this attribute is taken off.

Hidden
Set 'Hidden' attribute. If it is not checked then this attribute is taken off.

Archive
Set 'Archive' attribute. If it is not checked then this attribute is taken off.

System
Set 'System' attribute. If it is not checked then this attribute is taken off.

Set File Attributes command
Set File Attributes command

Path
The directory where the files is stored.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.

Filename
Specify the filename or wildcard for files you want to set new file attributes. If you chose a CUSTOM PATH, the full path to the file must be specified.

myfiles.*
#setuppath#\data\*.* (if CUSTOM PATH)

Recursive search
Check this checkbox to enable recursive search in all subdirectories.

If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.

Comment
You can add a comment for this setting here.

Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
      • Backup files
      • Calculate hash
      • Copy Files List
      • Decompress 7z file
      • Decompress ZIP file
      • Share & Permission
      • Temporary Files
      • Copy files
      • Create Folders
      • Decompress CAB file
      • Delete Files
      • Embedded files
      • Get File Information
      • Installation Files
      • Rename file or folder
      • Replace within files
      • Restore Backup Files
      • Search Files & Folders
      • Set File Attributes
      • Decompress Files
      • Wow64Redirection
    • Internet
    • Messages & Sound
    • Programming
    • Register DLL & Fonts
    • Registry & INI
    • System
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.