Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- net stop %~2
- if %errorlevel%==2 echo Error, nie udało sie zatrzymac usługi %~2 >> %file%
- if %errorlevel%==0 (
- echo usługa %~2 została wylaczona poprawnie >> %file%
- net start %~2
- if %errorlevel%==2 echo Error, nie udało sie wystartowac usługi %~2 >> %file%
- if %errorlevel%==0 echo usługa %~2 została uruchomiona poprawnie >> %file% )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement