I use Pick File() to retrieve the file path. From this file path I want to take a subsection and use this as the name for the data table produced by the script.
For example the file path is C:\Documents\Plot_Losses\DUT2\25C\filename and I want to call the data table 25C.
I can use Set Name to name the data table as the whole file path but not a subsection.
How can I script this for when the temperature folder changes the name of the data table changes too.