I'm looking for a way to get to the CWD's drive root no matter what the drive's volume letter is.
For example... say the program is on a drive (HDD's, SSD's, VHD's, etc.), I want to be able to go to the current drive's root. So basically, I want to change my CWD to the drive root no matter what the volume letter is.
I know that this says "Show what you've tried". The thing is, I'm not sure where to begin.