I am trying to find a way to get the path to the very first / root directory of my project and haven't quite been able to despite many similar question on SO.
Each of GetParent
and .Parent
move you one step up the directory, so you can use GetParent
or .Parent
three times.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.