home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,652 of 68,980   
   Tom Del Rosso to All   
   Finding names of services   
   20 Oct 20 10:13:39   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
       If you run this:   
      
      
   net stop LanmanServer /y   
      
      
       The output is:   
      
      
   The following services are dependent on the Server service.   
   Stopping the Server service will also stop these services.   
      
      HomeGroup Listener   
      Computer Browser   
      
   The HomeGroup Listener service is stopping.   
   The HomeGroup Listener service was stopped successfully.   
      
   The Computer Browser service is stopping..   
   The Computer Browser service was stopped successfully.   
      
   The Server service is stopping.   
   The Server service was stopped successfully.   
      
      
       So then you want to restart the dependent services first,   
   and you can parse the output to get the names, but how can you translate   
   them into the short names?   
      
   HomeGroup Listener=HomeGroupListener   
   Computer Browser=Browser   
      
   It could be hard-coded but that's so...you know.   
      
   Thank you.   
      
      
   --   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca