powerplanner

Converting folder of shape files to geodatabase

Discussion created by powerplanner on Aug 31, 2011
Latest reply on Sep 1, 2011 by powerplanner
I have a folder of 20 shape files and would like to covert folder to geodatabase, the code below will work and list the feature classes, but won't convert to geodatabase.  What am I doing wrong?

import arcpy
>>> from arcpy import env
>>> env.workspace = "D:/GIS/Data/Aug_Files"
>>> fcs = arcpy.ListFeatureClasses("*")
>>> arcpy.FeatureClassToGeodatabase_conversion("D:/GIS/Data/Aug_Files", "D:/GIS/PBCO2011/Planning.gdb")

The error message I get is "Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 000732: Input Features: Dataset D:/GIS/Data/Aug_Files does not exist or is not supported .

Any ideas??

Outcomes