I’m trying to copy directory. Some where inside the directory getting long path error. How can I continue on that error and how can i know the path of that file or folder at which I’m getting that error. Any suggestions would be appreciated.
Yes like we can place that activity alone in a TRY CTACH activity
And to know this
Before to that Copy directory activity we can use a Log message activity and mention the same input that we have used in Copy directory activity as a string between double quotes
So the sequence be like
Log message activity
Try catch activity
Inside the try block that copy directory activity
And then catch with exception as System.Exception
And then the rest of activities we have
Yeah but after catching exception, it would stop the copy process and and then moves to next step. I don’t want to stop the copy process of rest of the files after the long path file error occurs. Log message is that i haven’t tried before. This is where i’m out of ideas.
This error i’m getting at those folders are deep inside one another. In catch block, i can continue to copy files next to that error file, but i cannot be able to continue copying the remaining folders other than that folder containing long path error file.
Thank you!