Difference between revisions of "Activity:ReadDirectoryContent (Activity)"
m (moved ReadDirectoryContent (Activity) to ReadDirectoryContent (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | The ReadDirectoryContent returns a file list from a directory matching a search pattern. | ||
+ | |||
+ | =Description= | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Read Directory Content | | title = Read Directory Content | ||
Line 9: | Line 12: | ||
| version = 2.3+ | | version = 2.3+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 29: | Line 31: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity returns a list of file full paths matching the search pattern '''Filter''' and timestamp criteria '''CreationTime''' and '''LastWriteTime''' in the given directory. | This activity returns a list of file full paths matching the search pattern '''Filter''' and timestamp criteria '''CreationTime''' and '''LastWriteTime''' in the given directory. | ||
In '''Result''' the number of actual found files is returned. | In '''Result''' the number of actual found files is returned. | ||
+ | |||
+ | =Example= | ||
+ | Load the MetaClass named ''PUMP'', also load the MetaProperty ''NOMINALPOWER'' from the property pool and then add it to the MetaClasses' properties: | ||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! Argument!! Value | ||
+ | |- align="left" | ||
+ | | Filter || <source lang = "vbnet">c*</source> | ||
+ | |} | ||
+ | |||
+ | <!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS --> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[DeleteDirectoryContent_(Activity)]] | + | * [[Activity:DeleteDirectoryContent_(Activity)]] |
− | + | [[Category:Activities|ReadDirectoryContent (Activity)]] | |
− | [[Category:Activities]] | + |
Latest revision as of 09:42, 9 November 2015
The ReadDirectoryContent returns a file list from a directory matching a search pattern.