Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a batch file to run on windows

Tags:

batch-file

I want to run php artisan serve command every time I start my laravel application but I want to make a batch file to run this command from a specific path ie: E:/myfolder.

like image 554
Rastagar Avatar asked Dec 14 '25 15:12

Rastagar


1 Answers

use this:

E:
cd E:/myfolder
php artisan serve
like image 164
Rishav Avatar answered Dec 19 '25 05:12

Rishav



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!