I need to merge about 400 shapefiles and i need to identify each one after the operation. I want to create a field in the original shapefiles and calculate with the original workspace of each one. Then, when i make the merge operation, the path of the input files can show me which file the geometry belongs. I'm trying to use parse path but it simply don't work.
Any idea how can i make it?