I am attempting to output a specfic folder name in a Property.
This is an example of the Property so that I do not disclose sensative data.
if exists files “BESConsole_0.dmp” of folders “AppData\Local\bigfix” of folders of folder “C:\Users” then pathnames of files “BESConsole_0.dmp” of folders “AppData\Local\bigfix” of folders of folder “C:\Users” as string else "na"
My output is:
C:\Users\Test_user\AppData\Local\bigfix\BESConsole_0.dmp
C:\Users\Test_userE\AppData\Local\bigfix\BESConsole_0.dmp
What I need is just the name of the child folder of C:\Users, which contain the specified folder\file. Example “Test_user” and “Test_userE”.
Thanks much for any assistance
Eric R