Is there any way to run command prompt commands from within a C# application? If so how would I do the following:
copy /b Image1.jpg + Archive.rar Image2.jp
This can also be done by P/Invoking the C standard library's system function.
using System.Runtime.InteropServices; [DllImport("msvcrt.dll")] public static extern int system(string format); system("copy Test.txt Test2.txt");
Output:
1 file(s) copied.