I created an Arcpy script to generate point shapefiles for different watersheds.
I used split by features to create single watersheds. Each watershed has unique 3 letter code and I used that code to split features. I was not able to create single watershed shapefiles but I was able to create feature class in a geodatabase.
Then, I used these 3 letter codes feature class to create point shapefiles as boundary for each watershed in a loop. I realized when it comes to 'CON' loop stopped.
I checked if 'CON' reserved word in ArcGIS product but it was not. Finally after three days I figured 'CON' was a Windows reserved word and that was the causing issue.
However, now my geodatabase system ruined and Split by Attributes tool does not work anymore. It only generates the tables but no geometry. Also, my geodatabases look like folder instead of geodatabase symbol. Both ArcMap and ArcGIS Pro messed up.
I figured if I do not use these Windows reserved words my code works but I have lost quite some time to find the issue. I need to finish this project as soon as possible. Is there any quick fix for this problem.