I am not going to modify the service i just want to get the information of a service say sc.exe qc Apache2.2 will give the configuration information of it and from it i want to grep the BINARY_PATH_NAME alone,so nsExec::Exec 'sc.exe qc apache' will just run the command for me ,how to get the output in to a variable ,i am a newbie to NSIS plz help me.