SystemTools: make Getcwd() more efficient on Windows
Only do one conversion attempt and write that directly to the target buffer. Do the uppercasing of the drive letter only in the ASCII domain, not in wide chars.
Only do one conversion attempt and write that directly to the target buffer. Do the uppercasing of the drive letter only in the ASCII domain, not in wide chars.