I have a statement that sets a scheduled event, although I am having trouble wrapping the last part of the statement with the ‘ symbols.
Process.Start("schtasks.exe", @"/Create /SC DAILY /MO" + " \"" + comboBox2.Text + "\" " + @"/ST" + " \"" + comboBox1.Text + "\" " + @"/TN" + " \"" + textBox2.Text + "\" " + @"/TR ""C:\Program Files\test\scan.exe"" " + textBox3.Text);
I am trying to get textBox3.Text as follows:
‘textBox3.Text’
Just put the ‘ inside double quotes.