>>hh="d:\outmail\out"+TTOC(DATETIME())+".dbf" >> >>hh=CHRTRAN(hh," :/", "") >> >>SELECT outmail >>TRY >> md ("d:\outmail\") && It is closed in quotes and brackets just in case there are spaces in the folder name >>CATCH >>ENDTRY >> >>COPY TO (hh) && Here >>>
hh="d:\outmail\out"+TTOC(DATETIME())+".dbf" hh=CHRTRAN(hh," :/", "") SELECT outmail TRY md ("d:\outmail\") && It is closed in quotes and brackets just in case there are spaces in the folder name CATCH ENDTRY _CLIPTEXT = hh COPY TO (hh) && HerePaste Clipboard content in the next message.
COPY TO (hh) && Hereto
COPY TO d:\outmail\outxyz.dbf?