建立Windows Service
1. 開啟Cmd
2. 輸入
sc create "服務名稱" binPath= "可執行檔所在路徑" displayname= "顯示名稱" start= auto
ex: sc create "AdobeARMservice" binPath= "C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe" displayname= "Adobe Acrobat Update Service" start= auto
移除Windows Service
1. 開啟Cmd
2. 輸入sc delete "服務名稱"
ex: sc delete "AdobeARMservice"
沒有留言:
張貼留言