请教一下 windows 批处理命令 [已解决]
本帖最后由 nic2013 于 2019-3-31 20:01 编辑我需要设置 windows time 服务,批处理自动设置它为自动启动状态。、
按照网上的教程
利用sc.exe
sc config 服务名称 start= auto(设置服务为自动启动)
好像没有效果,
用命令 sc start W32Time 可以启动服务。但是 sc config W32Time=auto 确没有设置成功。
需要怎么写这个批处理?win7 系统。 sc config W32Time start=auto
可能需要管理员权限
页:
[1]