On 06/28/2011 09:44 AM, Schooner wrote:
>   >>If I have a program that gets executed via a user-defined M100
>   >>command, can that program get the INI file data somehow?
>
> Hi
>
> The info you need is in the main axis executable.
>
> Axis starts with a commandline argument specifying the path of the .ini
> file by default.
>
> Looks like you are conversant with python, so the below code fragments
> should point you on your way.
>
>
> import emc
> .
> .
> inifile = emc.ini(sys.argv[2])
> .
> .
> tooltable = inifile.find("EMCIO", "TOOL_TABLE")

Very cool. Guess I should dig a little deeper into the docs.

Thanks.

Karl



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to