Guest User

Untitled

a guest
Sep 12th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. How to restart window service after a particular time
  2. #include <process.h>
  3.  
  4. int main(){
  5. _execl("C:\Program Files\Notepad++\Notepad++.exe", "\0");
  6. return 0;
  7. }
  8.  
  9. net stop servicename
  10. net start servicename
Add Comment
Please, Sign In to add comment