Board logo

标题: 无法执行下个命令~~ [打印本页]

作者: Eblis     时间: 2007-1-7 12:13    标题: 无法执行下个命令~~

echo automatic updates windows更新服务
sc config wuauserv start= auto
echo alerter  垃圾信息发送服务.
sc config alerter start= disabled

在执行完第2行命令后..不会执行第3行..而是执行第一行..且没有echo了..提示automatic不是内部命令也不是外部命令...why?
作者: lxmxn     时间: 2007-1-7 18:23
  我的运行没有错误,不知道你的为什么不行。保存下面的为file.bat,然后双击运行:
@echo off
echo automatic updates windows更新服务
sc config wuauserv start= auto
echo alerter  垃圾信息发送服务.
sc config alerter start= disabled
pause

作者: Eblis     时间: 2007-1-11 10:05
我晕``我那天都还不行..今天我又重新运行一次又可以了............不知道怎么回事了..
谢谢啦``
作者: lxmxn     时间: 2007-1-11 10:19

  呵呵,难道是有鬼? ^_^