Xp系统优化 服务相关命令(6)

来源:互联网 发布:新卷皮 淘宝客 源码 编辑:程序博客网 时间:2024/03/29 23:18

在xp下,你需要优化系统服务!所以命令必不可少!一般手动设置的话,速度太慢了

所以,就用dos命令来操作,把要关闭的命令写成一个 bat 这样以后重装系统的时时

候速度就很快了,这里我们先介绍两个命令,这两个命令,首先看一下他的不同之处


Services can be stopped and started using two commands in Command Prompt Shell.net start service "some service"sc start "some service"
这两个命令有什么不同  net start 和 sc start 

In Windows NT, both commands access the same Service Manager. The difference is mainly in the user-visible part:net is older – from the days of MS-DOS and OS/2, in fact.sc only appeared with Windows NT (not sure which version).net can only start, stop and pause services.sc has more advanced controls, can query state, create and delete services, change their configuration and security: sc config beep start= demandnet only works locally.sc can be used over the network: sc \\snow start rpcapdnet accepts display names: net start "Windows Firewall"sc always requires a service name: sc start SharedAccess
上面这两个是引用了别人的解释!


总结一下 net start 是一个 dos下的命令 功能很少!

sc 这个是 nt下面新加入的一个功能!

大家可以用sc 这个命令来写bat,这样可以得到更多的控制!

后面的文章会继续为大家讲解!


原创粉丝点击