Hi

The only parameter that the ascii program will process is AUTO, that will cause 
it to update all of the automatically specified directories.


So, your batch file could look someting like this:



del c:\ascii_files\*.csv
del c:\ascii_files\*.lst
copy "c:\Quotes Plus Data\lists\MyNewList.lst"  c:\ascii_files
"C:\Program files\Quotes Plus\QP_Ascii" AUTO


The first 2 lines delete the old files and lists

then copy your new list to the directory

then call the ascii program with the parameter AUTO

You have to specify the ascii directory and parameters first in the qp_ascii 
program.

The only drawback might be that the ascii program gets called every time you 
update your data, you can just rename the directory before calling the update 
program, and the ascii program will just ignore it, then rename it in your 
batch file



Best regards,

Gary






  ----- Original Message ----- 
  From: ly0y 
  To: [email protected] 
  Sent: Saturday, May 05, 2007 12:28 AM
  Subject: [quotes-plus] Run QP_ASCII List in Batch?


  I am trying to automate most of the daily functions of my processing,
  and so far I've scheduled the nightly download, run a program to
  create a custom scan for that day when the download completes, run the
  scan, and save the output to a file coded with that day's date.

  The next step in my chain is to run QP_ASCII to Export a List. Since I
  run all tickers, producing a zillion small files won't work. Plus, I
  have extensive programs to analyze the history that scan and ascii
  export create, and I don't want to rewrite them...

  What I'd like to do is run QP_ASCII to fire off the Export A List To
  Ascii function from a batch job, feeding it the list generated from
  the scan in the previous step. Can QP_ASCII be controlled by a batch
  file? If so, where are the parameters kept and what are the command
  line switches?

  Thanks!

  Eric



   

Reply via email to