Analysis to return filename of last modified file

Hi All,

Have an app that lays down a new log file in the same directory every time a task is run. If this file is in C:\temp, how would I go about returning just the file name without extension? E.g if the file name is June2020.txt, how would I search that directory via analysis for the latest modified file and return just June2020 ?

(preceding texts of last "." of name of it) of (files of folder "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\__Global\Logs") whose(modification time of it = (maximum of (modification time of it) of files of folder "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\__Global\Logs"))

1 Like

Thanks so much dakota