Hi

Using BDS 2006 on Win 7.

I have a shell execute trial command  -
ProgramName := '"'+s+'\Quantum GIS Wroclaw\bin\ogr2ogr" "-f"  "PostgreSQL"; 
PG:"host='+DBHost+' user=postgres dbname='+DBName+' password='+Pass+'" "'+ 
DXFfile +'" -nln '+'Import_PID'+' "-overwrite" ';

that, if inserted in Delphi on one line, has no errors and works well.

If I make two lines, as above, I get errors. I’ve attempted double quotes to 
wrap the command. I’ve also tried adding + with and without quotes and adding + 
ProgramName to second line – all with no joy.

The final command will be considerably longer than the trial command.

How can I organize this so it will be on multiple lines and therefor easier to 
work with?

My searches found only how to create multiple lines for ShowMessage strings.

Bob
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to