I have this script and works fine but i want to make a small change.The scenario is this:
I open AlwaysUP(i run Mskscss.bat as System) so when finds the word: ''Discovered'' in this test file ''mskscss.out.txt'' then he will do this action: net stop Mskscss (managed by AlwaysUpService) --> this command will stop this service forever.When finds the 2'nd error called 5 consecutive times the do this action: net stop Mskscss (managed by AlwaysUpService) ''.I want to change thisd,when finds this error:'' rate 0.00'' 100 consecutive times then : net stop Mskscss (managed by AlwaysUpService) wait 20 sec. and then net start Mskscss (managed by AlwaysUpService).
Discussion forum for all Windows batch related topics.
1 post • Page 1 of 1