Page 1 of 1

XAMPP Command line interface

PostPosted: 27. May 2009 19:24
by ignas2526
I decided to code small command line interface for XAMPP which can be used to start/stop/restart XAMPP services.
Its not so functional as XAMPP control panel, but takes less CPU (since XAMPP control panel takes 2%+ CPU even if minimized).
Command Line have following functions:
Code: Select all
astart    ---  starts Apache
astop     ---  stops Apache
arestart  ---  restarts Apache
atest     ---  checks Apache configuration file syntax
mstart    ---  starts MySQL
mstop     ---  stops MySQL
mrestart  ---  restarts MySQL
help      ---  shows list of commands
htdocs    ---  opens htdocs folder in explorer
xampp     ---  opens xampp folder in explorer
notepad   ---  starts Notepad++ program

http://www.2shared.com/file/5981050/ab6499a9/XAMPP_Commandline.html
place cmd folder into C:\xampp and XAMPP CMD.lnk to any place you want.
You can also execute other functions like in normal windows cmd.
Enjoy!