Safer way of getting Windows system directory