mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
7 lines
210 B
Batchfile
7 lines
210 B
Batchfile
@if "%~1"=="/?" (@cd %*)
|
|
@set excd=%*
|
|
@set excd=%excd:"=%
|
|
@if "%excd:~0,1%"=="~" (@set excd=%userprofile%\%excd:~1%)
|
|
@if not "%~1"=="/d" (@set excd_param="/d") else (@set excd_param=)
|
|
@cd %excd_param% "%excd%"
|