Use GetCurrentDirectory API