0

Hello all,

I am have a text file with a list of windows services. Is there a way to check if the computer I'm working on has a specific service installed(Currently Win7 but needs to work for Vista and XP too? I want to do something like this:

bool found = false;
        while(!file.eof())
	{
		getline(file, serv);
		//if(Check if service(serv) is found){
                //      found = true;
                //      return 1;}
               //else
               //       found = false;

	}

Is this possible?
Thanks!

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Ancient Dragon
0

Is that a file that I can open? I need the script I am creating to be as fast and simple as possible. Is there a way to access a text file full of the services? Or os there some kind of script to create this?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.