i wanted to automate some of commands that runs on my windows cmd.exe.
Commands taht i wanted to execute :
cd\
pscp.exe
I am unable to execute , however so far i am able to open cmd.exe via my code.
My code :
 string cd = @"C:\>cd\";
    string pscp = @"C:\>pscp.exe";
    ProcessStartInfo startinfo = new ProcessStartInfo();
    Process.Start(@"C:\Windows\system32\cmd.exe",pscp);
    Console.ReadLine();
 
     
    