I have an automation where I have to create a folder with the File name of the file that I’m currently processing. My dispatcher populates a queue with the paths of the (files (written as string) that I need to process . My performer should create a folder with only the file name!!
So basically - in_TransactionItem.ToString would be : “C:\Users\yadayada\dog.zip”
And the folder that the performer needs to create would be named “dog” .
I’ve already tried the path.getfilename method but it doesn’t seem to apply to this. Should I use the Split method?