mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-25 15:49:08 +08:00
add excd (#1051)
This commit is contained in:
parent
d3026aef5d
commit
dcc06a9d70
6
vendor/bin/excd.cmd
vendored
Normal file
6
vendor/bin/excd.cmd
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
@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%"
|
Loading…
Reference in New Issue
Block a user