Posted by Grant Foraker on August 06, 2010 at 12:05:46:
Trying to do the LAUNCH of a CSV file at the end of an old Reporter run.
Tried several methods ...
! A !LAUNCH JAHRTC.CSV
! B !ENTER CUtlCpy "JAHRTC.CSV,TMP,JAHR1000.CSV,$(CATEMP),N,Y,T"
! C !ENTER CUtlCpy "JAHRTC.CSV,TMP,JAHR1000.CSV,TMP,N,Y,T"
! D !LAUNCH C:\Users\JoeyF\AppData\Local\Temp\CAFiles\CATEMP\JAHRTC.CSV
! E !ENTER CUtlCpy,,"JAHRTC.CSV,TMP,JAHR1000.CSV,$(CATEMP),N,Y,T"
! F !LAUNCH $(CATEMP)\JAHRTC.CSV
A - doesn't work and no error is posted to the LOG report
B, C & E - give "ERROR = 51 - INVALID COMMAND" in the LOG
D & F - work
F is the method/syntax I want. It just took a while to get there.
Tried B thinking that I could get CUtlCpy to do the LAUNCH. What I can't see is what's wrong with B, C & E.
===============================================================
There's some inconsistency in the Reporter documentation between LAUNCH (at the very bottom) that shows ...
ENTER CUtlCpy "MyTextFile.txt,DSK,MyPersonalTextFile.txt,$(CATEMP),Y,Y,T"
and ENTER that shows...
ENTER MYPROG,DSK,"some data to pass to myprog"
Do you need ",," as a place holder for the directory?
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.