I am running shp2pgsql.exe from C# using a process(cmd.exe,"string including executable name and options")
Bob Brundage GIS Coordinator Public Works (DPW) Bldg 865 Bastogne Ave & 16th St For Campbell, KY 42223 PH: 270-798-9571 FAX: 270-798-2232 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Blomberg Sent: Monday, June 02, 2008 3:07 PM To: PostGIS Users Discussion Subject: Re: [postgis-users] Re: Can't Call shp2pgsql.exe From "Run" or VBProgram, only works with DOS prompt opened first Awesome, I now have it working exactly as I wanted. Having it create a bat file and then run that also worked once I figured out to include the database. Thanks everyone Dan thomas gratier wrote: Dan, I can't directly help you but some people works about vbs for importing shp via shp2pgsql. Let's have a look on this post http://georezo.net/forum/viewtopic.php?id=47156 (in the middle of this french topic, you have VBS code ) Hope it helps Thomas G ________________________________ _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
