Update to Laragon Portable 3.3
This commit is contained in:
15
bin/cmder/cmder.bat
Normal file
15
bin/cmder/cmder.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
|
||||
SET CMDER_ROOT=%~dp0
|
||||
|
||||
@if "%2"=="" (SET FULL_TITLE=%1) else (SET FULL_TITLE=%2)
|
||||
|
||||
for %%f in (%FULL_TITLE%) do set TER_TITLE=%%~nxf
|
||||
title %TER_TITLE% - %FULL_TITLE%
|
||||
|
||||
:: Remove trailing '\'
|
||||
@if "%CMDER_ROOT:~-1%" == "\" SET CMDER_ROOT=%CMDER_ROOT:~0,-1%
|
||||
|
||||
cd /d "%1"
|
||||
|
||||
cmd /k %CMDER_ROOT%\vendor\init.bat "%2"
|
||||
Reference in New Issue
Block a user