I have a requirement where I am moving the file from one sub folder to another:
In order to do so I need to get the sub-folder path: This is the full path:
C:\Users\svcUpChtPreDSHS\Desktop\FakeSharedDrive\Process\CHET\11.15.2023 Nurse DONE\MF NO\Peterson.pdf"
I want to get this path:
C:\Users\svcUpChtPreDSHS\Desktop\FakeSharedDrive\Process\CHET\11.15.2023 Nurse DONE
Although I am using Split string, is there a better way to do it?
Thanks.