public static string[] GetParams( string[] all ) { // create a seperate parm list that has the command removed string[] parms = new string[ all.Length - 1 ]; Array.Copy( all, 1, parms, 0, parms.Length ); return parms; }