Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void RunCmd()
- {
- string strCmdText;
- strCmdText = "/C [enter command stuff here]";
- System.Diagnostics.Process.Start("CMD.exe", strCmdText);
- }
- strCmdText = "/K [enter command stuff here]";
- public void RunCmd()
- {
- string strCmdText = "/C "[enter command stuff here]" & "SLEEP 2"";
- System.Diagnostics.Process.Start("CMD.exe", strCmdText);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement