cd-to-current-directory
脚本中切换到脚本当前目录
cd /D "%~dp0"
$scriptpath = $MyInvocation.MyCommand.Path $dir = Split-Path $scriptpath cd $dir
cd "$(dirname "${BASH_SOURCE[0]}")"
cd-to-current-directory.txt · 最后更改: 2022-01-29 07:49:47 由 三三