Because macros are Visual Basic scripts, they can be invoked from Windows even when the software is not running.
By default, macros are located in, My Documents\My AMI 20xx Projects\scripts where xxxx is the software release number.
By default, command-line scripts are located in the default project directory, typically My Documents\My AMI 20xx Projects\commands, or in C:\Program Files\Autodesk\Moldflow Synergy 20xx\data\commands, where xxxx is the software release number.