Files
laragon/bin/laragon/Procfile.bat
2021-04-25 20:28:10 +00:00

18 lines
308 B
Batchfile

@echo off
@if "%2"=="" (SET FULL_TITLE=%1) else (SET FULL_TITLE=%2)
::SET FULL_TITLE=%1
for %%f in (%FULL_TITLE%) do set TER_TITLE=%%~nxf
title %TER_TITLE% - %FULL_TITLE%
call %~dp0laragon.cmd
cd /d "%1"
if not '"%2"'=='""""' if not '"%2"'=='""' (
call "%2"
) else (
rem
)