Link to home
Start Free TrialLog in
Avatar of ToneElec
ToneElec

asked on

Open two files as process

How to open 2 files at same time as process?  Do I need 2 process?

Avatar of kaufmed
kaufmed
Flag of United States of America image

What kind of files?
Open two files as process?

At the same time is impossible, even with 2 processes.
What you can do is use 2 threads for that purpose but it will still not be at the same time.

using System.Diagnostics;
System.Diagnostics.Process.Start("cmd");

Open in new window

//use your filename instead of cmd
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My guess would be that the question is not about opening the files at the same exact instance of time, but I could be wrong  = )
That question is a bit confusing. hehe
Let's see which guess is right.