AppREPACK
All about Application Packaging, Virtualization and Deployment
Pages
Home
AppREPACK
Thursday, 23 July 2009
Stop and Delete Service - VBScript
Option Explicit
On Error Resume Next
Dim objWshShell
Set objWshShell = CreateObject("WScript.Shell")
objWshShell.Run "sc stop Nicelog",0,true
objWshShell.Run "sc delete Nicelog",0,true
Set objWshShell = Nothing
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment