Make cmder portable

This commit is contained in:
Leo Khoa
2021-04-25 20:28:10 +00:00
committed by GitHub
parent 970b62ef6c
commit e19b05e322

17
bin/laragon/Procfile.bat Normal file
View File

@@ -0,0 +1,17 @@
@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
)