rem prepare the files
del /f /s /q .\work

unzip .\start_state\db.zip .\work\db.accdb
unzip .\start_state\project0.zip .\work\project0.accdb
copy .\start_state\project0.accdb .\work\project0.accdb

unzip .\control_end_state\empty_project.zip

rem run the test_export macro
"C:\Program Files\Microsoft Office\Office14\MSACCESS.EXE" "C:\APPLIS_PARC\OpenAccess\tests\work\project0.accdb" /X test_export

rem control the result
python compare.py .\work\source .\control_start_state\source

pause
