How to create an analyses property based the last file based which starts with computer name?

Hello All,

Please, Could you help me with this?

Everyday i’m creating a log file which name starts with the “computer name” of the server on “c:\scripts” directory. Steve help me with this action to get the file:

(name of it, modification time of it) of items 1 of (maximum of modification times of files whose (name of it as lowercase starts with (computer name as lowercase)) of it, files whose (name of it as lowercase starts with (computer name as lowercase)) of it) whose (item 0 of it = modification time of item 1 of it) of folder “C:\Scripts”

I’ve created an analysis where i added a property which i need to print the last log file located on “c:\Scripts”. As i said before the log file name starts with “computer name” of the server.

is this possible? i’m stuck

Regards

Jose Osorio R.