Export data to CSV file in VBScript from command prompt using EasyXLS component!
https://www.easyxls.com/manual/tutorials/vbs/export-data-to-csv-file.html