Thank you for your support.
But this is not what I am looking for, I think.
This is a batch file.
I am looking for some lines Sax basic scripting.
Is this what you are looking for?
Application.Name -> "PADS Layout"
Application.Version -> "67.0"
Application.FullName -> "C:\MentorGraphics\PADSVX.2.4\SDD_HOME\Programs\powerpcb.exe"
that is almost what i am looking for.
I already found out the Application.Version command but i don't see the connection between 67.0 and 2.4
Now i use the Application.Fullname command and do a mid$ afterwards but that is not a real proper way.