大家好,我想利用sc把notepad.exe这个程序创建服务。
代码: sc create note binpath= "c:\windows\system32\notepad.exe"
可是不能成功,请教这是什么原因?
代码: sc create note binpath= "c:\windows\system32\notepad.exe"
可是不能成功,请教这是什么原因?
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
sc create hackerscans binpath= "c:\windows\system32\notepad.exe" start= auto displayname= "hackerscans service"
sc description hackerscans "test."@echo off
>C:\test.log echo %date% %time%@echo off
sc create hackerscans binpath= "C:\test.bat" start= auto displayname= "hackerscans service"
sc description hackerscans "test."
sc start hackerscans