人工大脑

好记性不如烂 Wiki

用户工具

站点工具


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 由 三三