<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Wed, 21 Oct 2009 06:26:15 -0000</lastBuildDate><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-20689344</link><description>Ya Finger Crossed,&lt;br&gt;i Was looking for Same.&lt;br&gt;Thanks,&lt;br&gt;Ahmad</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aarfie</dc:creator><pubDate>Wed, 21 Oct 2009 06:26:15 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-20190427</link><description>Nice one, I think it could help me cos am having a work station with oracle, SAP and microsoft SQL Server</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">malaa</dc:creator><pubDate>Fri, 16 Oct 2009 07:30:57 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-8486196</link><description>Thanks, But how to Enable / Disable Windows Services using DOS.&lt;br&gt;&lt;br&gt;If the service is disabled, we cannot start the service using '' net start command ''</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ravi</dc:creator><pubDate>Tue, 21 Apr 2009 11:06:26 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-7625008</link><description>try double quotes on the second one around the service name</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrxbubbles</dc:creator><pubDate>Mon, 30 Mar 2009 04:49:29 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-6979714</link><description>Does anyone know how to DISABLE a service (not just stop it) so that it wont start again on the next reboot? I have tried the following: -&lt;br&gt;&lt;br&gt;NET STOP "Service Name" (The service stops after a second or two)&lt;br&gt;SC Config "Service Name" start= disabled&lt;br&gt;&lt;br&gt;But this error is produced on the second line: -&lt;br&gt;&lt;br&gt;[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.&lt;br&gt;&lt;br&gt;Patently the service does exist as it was stopped successfully in the first line.&lt;br&gt;&lt;br&gt;Thanks, Leigh</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">leighw</dc:creator><pubDate>Sat, 07 Mar 2009 12:57:49 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-6942428</link><description>Would be nice to clearly add where those files should be located.&lt;br&gt;&lt;br&gt;Thks, Regards</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ramr</dc:creator><pubDate>Fri, 06 Mar 2009 08:09:06 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-4081356</link><description>Hi,&lt;br&gt;&lt;br&gt;I am  using net start to start a service. but my service name has sqaure brackets soemthign like abc[32.0] and becuase of square braces its failing. does anyone know escapae sequence for this?&lt;br&gt;&lt;br&gt;many thanks&lt;br&gt;savita.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">savita</dc:creator><pubDate>Mon, 01 Dec 2008 06:41:28 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767177</link><description>Sometimes you might run into a problem using the NET command.  You may find yourself getting this error:&lt;br&gt;&lt;br&gt;&lt;em&gt;'net' is not recognize as an internal or external command.&lt;/em&gt;&lt;br&gt;&lt;br&gt;When that happens, this usually indicates that there is a problem with your PATH setting.  To fix this, while in a command prompt, type PATH and hit the [enter] key.  Your PATH variable may be long or short, depending on what programs have modified it, what you've done, etc..&lt;br&gt;&lt;br&gt;What you need to do is make sure that you have C:WindowsSystem32 as the first location in the PATH line (assuming you are using WinXP).  To fix the problem, type:&lt;br&gt;&lt;br&gt;&lt;em&gt;PATH %SystemRoot%System32&lt;/em&gt;&lt;br&gt;&lt;br&gt;And add any other path locations that may already be listed before you modified the path.  Separate each individual path location with a semi-colon ( ; ).&lt;br&gt;&lt;br&gt;I usually keep my path variable simple:&lt;br&gt;&lt;br&gt;&lt;em&gt;PATH %SystemRoot%System32;%SystemRoot%;%SystemRoot%Progra~1;C:;D:;E:&lt;/em&gt;&lt;br&gt;&lt;br&gt;EDIT: Sometimes setting this through a command prompt will not work, as the PATH variable may automatically be reset to what it was before you modified it.  If this is the case, you can change the path by the following alternative method (assuming you're using WinXP):&lt;br&gt;&lt;br&gt;Right-click on "My Computer" and choose "Properties"&lt;br&gt;Click the "Advanced" tab&lt;br&gt;Click the "Environment Variables" button&lt;br&gt;In the "System Variables" box, click on "Path", and click "Edit"&lt;br&gt;Make the changes to your path variable, then click "Ok"&lt;br&gt;Click "Ok" to exit all dialog windows.&lt;br&gt;&lt;br&gt;This should save your PATH variable correctly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 01 Feb 2006 14:25:19 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767176</link><description>how about:&lt;br&gt;&lt;br&gt;sc \servername STOP "Servicename"&lt;br&gt;&lt;br&gt;where sc is the service control utility in resource kit. You can use START to start a service and other switches to do the following:&lt;br&gt;&lt;br&gt;sc \servername config servicename start=(boot, system, auto, demand, disabled)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sl</dc:creator><pubDate>Wed, 21 Dec 2005 09:53:02 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767175</link><description>Is there a way that I can make a batch file start a service if it is stopped but stop it if it is started, if that makes sense?&lt;br&gt;&lt;br&gt;Any help would be greatly appreciated!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">billvts</dc:creator><pubDate>Wed, 16 Nov 2005 04:31:36 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767174</link><description>A very efficient way to manage services is &lt;a href="http://www.innovative-sol.com/uninstaller" rel="nofollow"&gt;Advanced Uninstaller&lt;/a&gt;.&lt;br&gt;&lt;br&gt;I like the fact that you can save a profile of services and apply it later. You can save your original service configuration and then experiment safely - if anything goes wrong, you can just restore the original configuration.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 05 Nov 2005 20:25:35 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767173</link><description>Exactly what I was looking for.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bd</dc:creator><pubDate>Mon, 25 Apr 2005 05:54:19 -0000</pubDate></item><item><title>Re: Create Batch File to Start or End Window Services | Batch file programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/#comment-2767172</link><description>If you want to automize php scripts on Windows I recommend using VisualCron which is free. It works like cron on Linux and is more advanced than the task scheduler in Windows. &lt;br&gt;&lt;br&gt;You can check it out here: &lt;a href="http://www.visualcron.com" rel="nofollow"&gt;http://www.visualcron.com&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 13 Nov 2004 23:42:05 -0000</pubDate></item></channel></rss>