Remove part of a file name
Posted: Thu Jul 31, 2025 6:38 pm
I am very new to Switch, so please forgive what might be a easy question to you
I am trying to get files into a folder that is already created -- problem seems that the file name has the additional info in it separated by "_"
So I need my Path to find the folder that is named "123456_Customername" -- From a file named "123456_Customername_Labels" and place that file in that folder with the file name in tact
I have tried to use [Job.NameProper] and [Job.NameProper:Before="_"]
I am trying to get files into a folder that is already created -- problem seems that the file name has the additional info in it separated by "_"
So I need my Path to find the folder that is named "123456_Customername" -- From a file named "123456_Customername_Labels" and place that file in that folder with the file name in tact
I have tried to use [Job.NameProper] and [Job.NameProper:Before="_"]