Pythontr

husonet | Tarih: 06.06.2012

Windows Hizmet (Service) Oluşturma

Win64
sc.exe create "xxxxGonderimi" binPath= "c:\Projeler\xxxx\xxxxMailGonderme.exe"
sc.exe delete "xxxxGonderimi" binPath= "c:\Projeler\xxxx\xxxxMailGonderme.exe"

Win32
c:\Projeler\xxxx\xxxxMailGonderme.exe /install /slient
c:\Projeler\xxxx\xxxxMailGonderme.exe /uninstall /slient


Start
sc.exe start "Service Name"


Pause
sc.exe pause "Service Name


Stop
sc.exe stop "Service Name"