One of the solutions could be like:
COPY TO test1.txt CSV
STRTOFILE(STRTRAN(FILETOSTR("c:\test1.txt"),[","],[";"]), "test.txt")
erase test1.txt
>Hi All,
>
>Is there a way to include field names as a first line in a text file created using the command below?
>
>COPY TO test.txt DELIMITED WITH CHARACTER ';'
>
>
>Thank you,
>Daniel M.