# Batch file to run BAQ Export Process

**URL:** <https://www.epiusers.help/t/batch-file-to-run-baq-export-process/57243>\
**Category:** Epicor ERP 9\
**Tags:** baq-export-process\
**Created:** [June 26, 2019, 2:55pm UTC](https://www.epiusers.help/t/batch-file-to-run-baq-export-process/57243 "2019-06-26T14:55:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bordway](https://www.epiusers.help/user_avatar/www.epiusers.help/bordway/32/30753_2.png) [@bordway](https://www.epiusers.help/u/bordway)\
**Post date:** [July 13, 2019, 3:47pm UTC](https://www.epiusers.help/t/batch-file-to-run-baq-export-process/57243/6 "2019-07-13T15:47:19Z")

</div>

> [@SpeedOfLight](#):
>
> I need to include the yyyymmdd to the .csv it creates

Not exactly elegant but…  
I have several BAQ exports to CSV that are run once each day on a schedule.  
I then have a batch file run by Windows Task Scheduler to rename my CSV files, adding the date stamp (the batch file also copies CSVs from EpicorData to the appropriate, network folder).

Also, I sometimes include date/time stamps right in the BAQ/CSV.  
e.g.

- row 1 fields AND todays date, current time
- row 2 fields AND todays date, current time  
etc…

![image](https://www.epiusers.help/uploads/default/original/3X/e/8/e81975ee8b9c373f5f12cde3e2908aacd08e6525.png)  
 ![image](https://www.epiusers.help/uploads/default/original/3X/a/6/a6d73150fe597ffd3dcd976056e88e52e345fd46.png)

---

_[View the full topic](https://www.epiusers.help/t/batch-file-to-run-baq-export-process/57243)._
