sc script
From: allan (anonymous_at_discussions.microsoft.com)
Date: 05/07/04
- Next message: Torgeir Bakken \(MVP\): "Re: sc script"
- Previous message: C. Carl: "Using a .txt file to provide servername to a script?"
- Next in thread: Torgeir Bakken \(MVP\): "Re: sc script"
- Reply: Torgeir Bakken \(MVP\): "Re: sc script"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 12:39:30 -0700
Hi,
I hope someone can figure this out - I try to run the
following script:
for /F %%i in (complist.txt) do (
sc "%%i" stop mssearchsc "%%i" config mssearch
start= disabled
)
every time I tried and got an error saying "line 1, char
5, error: expected identifier, code:800A03F2, source:
Microsoft VBscript compilation error"
what that '%%i' mean?
thanks
al
- Next message: Torgeir Bakken \(MVP\): "Re: sc script"
- Previous message: C. Carl: "Using a .txt file to provide servername to a script?"
- Next in thread: Torgeir Bakken \(MVP\): "Re: sc script"
- Reply: Torgeir Bakken \(MVP\): "Re: sc script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|