Assuming csvline is required, the following result was found.
GuiControlGet, v_FolderToSearch, , MySelectedFolder v_FilesCopied := 0 v_FilesTotal := 0 ; attachments csv headings v_CsvLine := "Attachment Id,Attachment Owner Id,Modified By Id,Created By Id,Created Time,Modified Time,File Name,Parent Id`r`n"...