batch export *.std or *.xcd to *.csv?

Hello everyone,
Is there any scripts or commands can be used to export the studytable files (*.std) or graphs (*.xcd) to *.csv files?
Sometime there are so many *.std or *.xcd files needed to be copied of exported as csv file to furhter calculate or plot. Export or copy these data seems tedius. I have searched the API and no suitable command was found.
Is there someone can help to achieve such a target?
Attached are some *.std and *.xcd files can be used as test samples.