Microsoft
Software
Hardware
Network
Question : Use NET start
How to use net start command to work only if service is not running ?
when service already run; it will give an error message (already started) how to hide this error ?
i want to have batch file.
Thanks
Answer : Use NET start
The "stupid" approach, which is neverless the fastest and easist, is to issue the start command and suppress any error output:
net start MyService 2> nul > nul
If it is started already, nothing happens. No output shown and no error reported.
Random Solutions
SQL Server instance just disappeared
Oracle Forms 10 Master/Detail not displaying detail if all items are "display"
Webassist Dynamic Drop Down
Capturing handwriting
Sync Access database contacts with Exchange Contacts list
Web Service limits
Error Installation of programs
Terminal Server 2008 configure Access 2007 to enable all macros for all users?
safari for 10.4
Having issues converting Physical ISA server to Virtual Server