Using SQL Plus, I run this script
set colsep \',\' set headsep off set pagesize 0 set trimspool on set linesize 67 set numwidth 20 spool C:\\Users\\xxxxx\\AppDat