net stop service



Hi all,
Is there a way to stop a service eg. net stop "dns client" without to
invoke .bat or .cmd?
I didn't find nothing ( no class etc) with google about this.
THANKS IN ADVANCE.

.



Relevant Pages

  • Re: net stop service
    ... Is there a way to stop a service eg. net stop "dns client" without to ... invoke .bat or .cmd? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What is the difference between CMD and BAT file ?
    ... I have two .cmd files that are part of XP. ... my understanding is that BAT can be applied to both NT ... NOT be listed under non NT i.e. Windows 9x, Me, etc. ... typed in a Command Prompt or the Run command. ...
    (microsoft.public.windowsxp.general)
  • Re: What is the difference between CMD and BAT file ?
    ... BAT will not cause error message for commands like ... NOT be listed under non NT i.e. Windows 9x, Me, etc. ... typed in a Command Prompt or the Run command. ... File Extension .cmd ...
    (microsoft.public.windowsxp.general)
  • Re: CMD vs. BAT
    ... > were giving me problems on XP Pro machines where the BAT files ... include "garbage" when the extension is .CMD instead of .BAT. ... BTW I started using the .CMD extension with early OS/2. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Issue in execution of batch files Windows XP Pro
    ... Simply correcting the extension ... identically by Windows. ... I personally stick with CMD for NT operating systems, ... use BAT on the 98 boxes. ...
    (microsoft.public.windowsxp.general)