Use GetShortPathName and GetLongPathName to correct the case of the new path in SetRo...