Try this as a general purpose solution: DIR="$(cd "$(dirname "$0")" && pwd)". In the specific case of following symlinks, you could also do this:
確定! 回上一頁