Daniel Blomberg
2008-05-31 21:49:04 UTC
Hi,
I am trying to run shp2pgsql.exe from inside a visual basic program I am
writing. Its not working so i tested the command I am sending from the
"Run" dialog box in windows and it doesn't work. The dos box pops up and
goes away too fast but here is what I caught:
Loading Image...
The command I am trying to run is:
"C:\gps_maps\postgis_sql\shp2pgsql.exe"
"C:\gps_maps\mississippi_topo\transportation\all_lines.shp" all_lines >
"C:\gps_maps\mississippi_topo\transportation\all_lines.sql"
If I run the command when the dos prompt is open it works. Ideas/help would
be much appreciated.
Thanks in advance
Dan
I am trying to run shp2pgsql.exe from inside a visual basic program I am
writing. Its not working so i tested the command I am sending from the
"Run" dialog box in windows and it doesn't work. The dos box pops up and
goes away too fast but here is what I caught:
Loading Image...
The command I am trying to run is:
"C:\gps_maps\postgis_sql\shp2pgsql.exe"
"C:\gps_maps\mississippi_topo\transportation\all_lines.shp" all_lines >
"C:\gps_maps\mississippi_topo\transportation\all_lines.sql"
If I run the command when the dos prompt is open it works. Ideas/help would
be much appreciated.
Thanks in advance
Dan