title: Sytanx to execute command in pentaho kettle shell
body: <pre><code>"CMD.EXE /C "  psql -h ipaddress -d dbname -u user -p password -c "\copy  table  to 'd:/bcptest/file.csv' with delimiter as '|'"  
  </code></pre>
  
  <p>I have to execute this command in pentaho shell. But it is showing as parse error in script.  By this command i have to copy data from a postgres table which is remote and save as .csv file in local.Please help.</p>