.bat
Starting And Stopping Apache Using Windows .bat Files
Wed, 06/03/2009 - 20:41 | by philipnorton42Following on from the post about starting and stopping MySQL using .bat files I decided to add commands to these files that also controlled Apache in the same way. This turned out to be a lot easier than trying to start and stop MySQL as the command line commands for httpd executable worked very well in .bat files.
So, to start Apache use the following line.
Starting And Stopping MySQL Using Windows .bat Files
Wed, 05/13/2009 - 15:17 | by philipnorton42I use my PC for a lot of different things, and I don't necessarily need to have MySQL server running all the time, especially when I want to play a game. So I wondered if there was a simple way in which I could start and stop the server using a simple .bat file.
I had a look at the MySQL website and found a page that details how to start MySQL from the command line. This page suggested that I use the following command.