gibarian

synergy-stop.bat

Feb 22nd, 2019
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. net session >nul 2>&1
  4.  
  5. if %errorLevel% == 0 (
  6.         echo "Stoping Synergy Service"
  7.     net stop synergy
  8.     pause
  9.     exit
  10. ) else (
  11.     echo Failure: Current permissions inadequate. Run the script as an Administrator
  12.     pause
  13.     exit
  14. )
Add Comment
Please, Sign In to add comment