[Files] Touch
Q100037: [Files] Touch
Touches the file dates and/or sets attributes of specified file(s).
| Parameter | In/Out | Description | Other Info |
|---|---|---|---|
| File source | InOut | The file source is a list of one or more files to process, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module. |
|
| Touch file date(s) | In | Choices: LastModifiedDate, LastAccessedDate, CreationDateSet one or more of a file's date field(s) to the current local date & time. |
Multiple selections allowed |
| Set attribute(s) | In | Choices: Archive, ReadOnly, Hidden, SystemSet one or more file attribute(s). READ-ONLY - File should not be altered, and will affect any attempt to edit or delete it. ARCHIVE - File has been modified since the last time it was backed up. HIDDEN - File is hidden. Commands like "dir" and apps like File Explorer do not show hidden files by default. SYSTEM - File is a critical or important system file that is necessary for the operating system (OS) to work properly and are also normally hidden from view by default. |
Multiple selections allowed |
| Clear attribute(s) | In | Choices: Archive, ReadOnly, Hidden, SystemClear one or more file attribute(s). READ-ONLY - File should not be altered, and will affect any attempt to edit or delete it. ARCHIVE - File has been modified since the last time it was backed up. HIDDEN - File is hidden. Commands like "dir" and apps like File Explorer do not show hidden files by default. SYSTEM - File is a critical or important system file that is necessary for the operating system (OS) to work properly and are also normally hidden from view by default. |
Multiple selections allowed |
| Log output level | In | Choices: Minimal, VerboseThe level of execution detail you want to appear in the log. |
Default: Minimal |
| Processed file list | Out | List of files that were processed. |
(Italics = required parameters)
Notes
The [Files] Touch module allows you to specify a group of one or more files where you want to update the file timestamp to the current date and time.
Last Updated:
10/3/2023 1:06:57 AM