in reply to Win32 - Dependant services
my @services = qw(MSSQLServerOLAPService SQLServerAgent MSSQLSERVER + ) foreach (@services){ my $rtncd = system("net stop $_") >> 8; # some error checking & other code if wanted } foreach (reverse @services){ my $rtncd = system("net start $_") >> 8; # some error checking & other code if wanted }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Win32 - Dependant services
by Smaug (Pilgrim) on Oct 21, 2004 at 14:34 UTC | |
by periapt (Hermit) on Oct 22, 2004 at 16:07 UTC | |
Re^2: Win32 - Dependant services
by Smaug (Pilgrim) on Oct 21, 2004 at 13:30 UTC |