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
msoutlook 2007 data file do not compress
JavaScript: Uppercase First Letter of Every Word
How can i assign an admin to Joomla installation
Screen Printing / Art Department Resource Scheduling and Organization
Getting IIS7 to Show Friendly Error Messages in ASP
.link is now an extension on all of my programs
Deploy RemoteApp MSI using GPO
Block access to a single website - Software Resttriction Policies
DNS Event ID's 4010 & 4013
Install Office Communicator 2007 fails on database