Advertisement
Sajgoniarz

Write to separate cmd (Because its easy!)

Jun 14th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. using System.Diagnostics;
  2.  
  3. namespace OpenCMD
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             var process = new Process();
  10.  
  11.             process.StartInfo = new ProcessStartInfo("cmd.exe")
  12.             {
  13.                 Arguments = "/k echo John Wick 2077 incoming!"
  14.             };
  15.             process.Start();
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement