You want to run that command with the "-f" switch, the "-c" switch is for a single command, not a script file.
HTH Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chris brisendine Sent: Tuesday, May 06, 2008 11:35 AM To: PostGIS Users Discussion Subject: Re: [postgis-users] Points with in multiple Polygons Great Idea on the tornado intersect it does from time to time! It worked great ! thanks, maybe one day it can save a life, If i wanted to run the query from the command line would i use the psql -c run.psql to output a list to a txt file? im getting a error with that ERROR: syntax error at or near "run" at character 1 LINE 1: run.psql Thanks alot your time is very appreciated! _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users