試了兩天都不行,頭都快要炸了,不知有沒有人可以幫幫我
我先拿DR.eye試試,但是就是一直出現一個訊息 "22 "不知是什麼意思
以下是我的Windows Script (vbs)
Const OWN_PROCESS = 16
Const NOT_INTERACTIVE = True
Const NORMAL_ERROR_CONTROL = 2
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & _
"{impersonationLevel=Impersonate}!\\" & strComputer & "\root\cimv2")
Set objService = objWMIService.Get("Win32_BaseService")
errReturn = objService.Create("Dreye Services", _
"Runing Dreye", _
"C:\Program Files\Dreye\Dreye.exe", _
OWN_PROCESS, _
NORMAL_ERROR_CONTROL, _
"Automatic", _
NOT_INTERACTIVE, _
"administrator\LocalSystem", "")
Wscript.Echo errReturn
參考網址==>
http://www.microsoft.com/technet/tre...s_ser_unza.asp
http://www.microsoft.com/technet/tre...er/default.asp中的service=>install_a_service
書籤