sorry with vague title im struggling to make a program i need it to put arguments to cmd but i have more than one quote and keeps seeing links as strings? also im new to this
private void Playbutton_Click(object sender, RoutedEventArgs e)
{
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = (@"C:\Users\TheDu\Documents\Blox14M\Blox14M.exe -a "http://www.blox14l.tk/" -t "1" -j "http://www.blox14l.tk/game/join2014.php?port=%Port%&app=%charapp%&ip=%IP%&username=%user%&id=%id%");
process.StartInfo = startInfo;
process.Start();
}
}
}