473,386 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Executing anyother file(.exe) using c#

5
I want to execute an .exe file in my c# code..

This can be done by:
Sytem.Diagnostic.Process.Run("filename");
but

I wanted to know a way to give the starting arguments for this file...
Mar 5 '07 #1
1 1030
RedSon
5,000 Expert 4TB
You should be able to just add this command line arguements directly into the function call.

filename /a /b "foo"

like that
Mar 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Thomas | last post by:
What's the quickest way to write and read 10.000 integer values ( or more ) to and from a file? Using struct somehow? The example in the docs shows how to handle to or three arguments, but is the...
2
by: kris | last post by:
Hello, We're porting some old code to our new C# .NET project and are having trouble getting the file version of a non-.NET EXE file using C# .NET code. In our old code, we were using the...
2
by: kelly | last post by:
Hi, I don't have a code to show you, what I need are references or algorithms so that I'm in a right track. By the way, thanks for introducing me the array or arrays. Now I can continue my...
1
by: Franky | last post by:
the file .exe in the vbnet can received a parameter how can i received this parameter by code ??
3
by: pieronabs | last post by:
Hi, hope you forgive my simple request. I would like to execute a file using a C# application, say if I clicked on a button that is in a form I should be able to open the file...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
0
by: arielepakz83 | last post by:
hai..now im studing ASP..but i dont know how to run file exe using ASP.anyone help me.?
1
by: simhadeep | last post by:
Hi I developed a windows application using C# which is used to insert data from sql server 2000 to oracle 10g data base. I developed a Installer file using set up and deployment projects in...
2
by: mayurshah01 | last post by:
Hey guyz, I'm leaning c++. i wanna execute *.exe file using c++ pogramming. For example I have four *.exe files, a.exe b.exe c.ece d.exe Now i'll ask user for option that which file he/she...
8
by: dvp10 | last post by:
Hi, i want open an .exe file using OpenFileDialog() in C# The code i ve used is - Stream strm; StreamReader reader; try ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.