Re: How Do I Reach For a Text File (Source) for File Name With PartStatic and Part Dynamic -
06-05-2008
, 11:03 AM
Hi Mark,
There are a bunch of ways.
The easiest is probably to just use a ForEach loop (even if it only
runs once). Set the Enumerator to "Foreach File Enumerator", the
Folder to "\\Server\Directory\" and the Files to
"staticfilename_*.txt". This will loop through each file in the
directory that matches the specified pattern, set the file name (fully
qualified, name only or name and ext.) to a variable, and then run any
tasks inside the loop container.
Good luck!
J |