gc dublin Posted September 21, 2006 Share Posted September 21, 2006 Hi, I see there is a check for if a process exists, how do I check if a service running or existing? Thanks Greg Link to comment Share on other sites More sharing options...
Developers Jos Posted September 21, 2006 Developers Share Posted September 21, 2006 Hi, I see there is a check for if a process exists, how do I check if a service running or existing?ThanksGregProcessExists() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
gc dublin Posted September 21, 2006 Author Share Posted September 21, 2006 ProcessExists() ?I have seen processexists but I need to check if a service exists.Thanks.Greg Link to comment Share on other sites More sharing options...
Developers Jos Posted September 21, 2006 Developers Share Posted September 21, 2006 I have seen processexists but I need to check if a service exists.Thanks.GregThere is a UDF in the scripts&scraps that can do all kinds of tasks on services...check here SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
dabus Posted September 21, 2006 Share Posted September 21, 2006 $servicename="give me a name please" Run (@comspec & ' /c sc query '&$servicename, '', @sw_hide) guess what's missing? If you don't now, search for stdout and stderr. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now