New2This March 2, 2011 at 19:17:16 Specs: Windows 7
I am trying to write a batch file that check to see if a service is running on multiple computers. I have the computers listed in a text file. This doesn't see to work: FOR /F "Tokens=*"%%L in (Computers.txt) DO ( SET ComputerName= SET ComputerName=%%L SC.exe \\!ComputerName! Query ServiceIamChecking > Results.txt )
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.