[postgis-users] Re: Can't Call shp2pgsql.exe From "Run" or VBProgram, only works with DOS prompt opened first

Brundage, Robert G Mr CIV USA IMCOM robert.g.brundage at us.army.mil
Mon Jun 2 14:00:31 PDT 2008


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: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] 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
	postgis-users at postgis.refractions.net
	http://postgis.refractions.net/mailman/listinfo/postgis-users
	  




More information about the postgis-users mailing list