Determining the name of a single file
Posted: Mon Jan 25, 2016 5:13 pm
I am trying to query to find out the file name that has been unzipped. We do it now from a file list, but I would like to query a directory that I know only has one file in it, for the file name.
In a list, we use the function Set Variable and assign the variable the results.
variable = ${ScanFile:name}
Where ScanFile is the current item variable.
I can only see how that is done in a LIST.
How can I assign a variable a file name if it is not being processed through a list?
Thank you,
B Smith
In a list, we use the function Set Variable and assign the variable the results.
variable = ${ScanFile:name}
Where ScanFile is the current item variable.
I can only see how that is done in a LIST.
How can I assign a variable a file name if it is not being processed through a list?
Thank you,
B Smith