Is there a way I can put a bat file together that will start XAMPP & then start both Apache & MySQL?

Windows XP & up.

Richard KortsBusiness Owner / Chief DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think running this as a service might be a better option, so both apache and Mysql will start automatically.  XAMPP has this built in.

Start XAMPP using "Run as administrator", then you can install apache, Mysql as a service.

You also need to stop the module you want to install as a service then click the "Service" check-box on the left and answer "yes" to the message that pops-up.
Dave BaldwinFixer of ProblemsCommented:
Have you read the text files in the XAMPP root and seen the batch files that are there?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard KortsBusiness Owner / Chief DeveloperAuthor Commented:
Dave Baldwin,

Egg on my face, I didn't even notice those.

I'll see what happens with them.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.