Skip to content

Development Bat Script for Windows

Josh Greig edited this page Feb 18, 2017 · 2 revisions

If your development environment is set up for Windows, the following commands may be useful for you. These are the commands I keep in a .bat file on my Windows desktop. I run it every time I get time to develop. It runs various commands to open links in web browsers and ensures that necessary services like mysql are running.

To make it work for you, copy/paste the content into a new .bat file on your desktop and adjust the paths to the ones on your system.

explorer "C:\wamp\www\hhaccessibility\hhaccessibility.github.io\app"

start cmd /k "cd C:\wamp\bin\apache\apache2.4.23\bin & httpd"

start cmd /k "mysqld"

start cmd /k "cd C:\wamp\www\hhaccessibility\hhaccessibility.github.io\app & php artisan serve"

start cmd /k "cd C:\wamp\www\hhaccessibility\hhaccessibility.github.io\app & gulp watch"

start "" http://localhost/phpmyadmin

start "" http://localhost:8000/

cmd /k "cd C:\wamp\www\hhaccessibility\hhaccessibility.github.io\app"

Clone this wiki locally