Avoid using System.Cmd as it is deprecated in 7.10