Perhaps a little less detail,
wmic service where "name='AxInstSV'" get PathName
This should also work on the command line, not just the command line.
Or, if you have a process name that you could do:
wmic process where "name='AxInstSV.exe'" get ExecutablePath
To read the process path, you will need permission, so basically I got lucky with the service name.
nawfal
source share