Here’s a simple example :
Process.Start("cmd","/C copy c:\\file.txt lpt1");
More Related Contents:
- Merging dlls into a single .exe with wpf
- Output Console.WriteLine from WPF Windows Applications to actual console
- Is there a method to obfuscate a .cmd file? [closed]
- Login Form in C# windows Presentation Foundation
- Window vs Page vs UserControl for WPF navigation?
- When to use BlockingCollection and when ConcurrentBag instead of List?
- Adding placeholder text to textbox
- Execute multiple command lines with the same process using .NET
- How to get the size of the current screen in WPF?
- WPF chart controls [closed]
- Data Binding in WPF User Controls
- Task continuation on UI thread
- Why use MVVM? [closed]
- Retry a task multiple times based on user input in case of an exception in task
- How to pass multiple arguments in processStartInfo?
- WPF: Cannot reuse window after it has been closed
- WPF: The name does not exist in the namespace [duplicate]
- Foo.cmd won’t output lines in process (on website)
- How can you bind to a DynamicResource so you can use a Converter or StringFormat, etc.? (Revision 4)
- Global hotkeys in WPF working from every window
- Is there a MessageBox equivalent in WPF?
- display Hourglass when application is busy
- Combining DataTemplates at runtime
- How does WPF INotifyPropertyChanged work?
- Page vs Window in WPF?
- Setting the Style property of a WPF Label in code?
- How to check if a file is signed in C#? [closed]
- C# application both GUI and commandline
- PropertyChanged for indexer property
- Making specific Text Boldefaced in a TextBox