Execute a macro from a Batch script (.bat)

Hi All,

Has anyone tried executing a macro from a batch script that is launched from the windows command prompt. 
Once the batch file is run from the command prompt, the script should
1. Launch Catia
2. Execute the macro saved in the database and not locally on the file system

Open to any other form of scripting that can be launched externally. 

Thanks,

Rajshekar