To launch an extraction please follow this steps :

1- Install the access runtime 2010 (http://www.microsoft.com/en-us/download/details.aspx?id=10910)

2- Install the access runtime 2007 (http://www.microsoft.com/en-us/download/details.aspx?id=4438)

 Yes you need both of the above setups, installed in this order, especially on an x64 machine

3- Open the "run" command dialog by pressing Winkey + R. 
   (Winkey is tke keyboard button with a window drawn on it, it is between "ctrl" and "alt")

4- Type "cmd" then press enter

5- Now that the windows command line interface is running, you need to go to the directory 
   where the "CmdQesExporter.exe" is. To do that, type "cd" (without quotes) in the command 
   line  followed by the directory where the "CmdQesEporter.exe" is.

   ex: cd C:\users\matt\desktop\Qes_Exporter

6- You can now launch the executable "CmdQesExporter.exe" followed by its command line arguments.

   ===============================================================================================

   The program parameters are the following, no order is enforced:

   /help : prints the help about how to launch the program

   /source : required, followed by the path for the source Qes file containing the structure of the survey.

   /format : required, followed by "LEGACY" or "NEW" depending on the sql tables format to extract from

   /connectstring : required, followed by the connection string to connect to the sql database
      - ex: "Provider=sqloledb;Data Source=ASKIA-PC\SQLEXPRESS;Initial Catalog=Test_Extraction;User Id=askia;Password=askia;"
      - of course each value after each "=" should be replaced with the apropriate value except for the "Provider",
        the "Data Source" value can be "(local)" if the sql server is on the same machine and there is only one installed.
        The "Initial Catalog" is the name of the database containing the survey data.

   /id: required, followed by the ID of the survey to extract

   /target: required, followed by the path for the target Qes file to create.

   /progress: optional, should be followed by "CONSOLE" (default value) to debug easily

   /pipe: optional when the progress is "CONSOLE"

   /completion: optional, can be followed by "COMPLETE" or "INCOMPLETE" to export only the corresponding interviews

   /minstartdate: optional, Can be followed by a date with the format dd/mm/yyyy to export only interviews started ON OR AFTER that day - i.e. >=

   /maxstartdate: optional, Can be followed by a date with the format dd/mm/yyyy to export only interviews started BEFORE that day - i.e. <   

   /endpause: optional, can be followed by "UNPAUSE" wich makes the exporter not to pause at the end of the export

   ===============================================================================================

   Some examples of the final command to launch might look like :

   CmdQesExporter.exe /source "c:\users\matt\desktop\test.qes" /format "LEGACY" /connectstring "Provider=sqloledb;Data Source=MATT-PC\SQLEXPRESS;Initial Catalog=CCA_SURVEYS;User Id=matt;Password=BlueSky;" /id "215" /target "c:\users\matt\desktop\test_out.qes" /progress "CONSOLE"

   CmdQesExporter.exe /source "c:\users\matt\desktop\other.qes" /format "NEW" /connectstring "Provider=sqloledb;Data Source=(local);Initial Catalog=CCA_SURVEYS;User Id=name;Password=pass;" /id "666" /target "c:\data\news_extracted.qes" /progress "CONSOLE" /completion "COMPLETED" /minstartdate "24/06/2012" /maxstartdate "28/06/2012" /endpause "UNPAUSE"


7- You can also put the command in a batch file (.bat extenstion) and launch it
