Command Line
To perform batch conversion or call conversion procedure from an automation script you can use console version of Access-to-MySQL Pro called A2SAGENT.EXE. Find this file in Access-to-MySQL Pro installation folder. You can either run this tool directly from command line or call it from any script as well. The program supports the following command-line options:
| --dump |
use this option to convert MS Access databases into dump files |
| --help |
display help message and exit |
| --logfile=... |
path to the logfile where execution traces will be written |
| --profile=... |
path to the session profile you want to use |
| --silent |
use this option to disable program output |
Note: you should specify path to a profile at least.
In the following example the program loads settings from "c:\my_profile.a2s" and writes execution traces into "c:\logs\08_11_01.log":
A2SAGENT.EXE --profile=c:\my_profile.a2s --logfile=c:\logs\08_11_01.log
Note: if you just installed Access-to-MySQL Pro, you should create a profile before using A2SAGENT. Launch Access-to-MySQL Pro Wizard and select all the databases that you want to convert in the batch mode. The program automatically saves the selected databases into profile on exit.
|