Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 109,546 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,184 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



parse a string into command line?

 
Reply to this topicStart new topic

parse a string into command line?

indrora
post 2 Aug, 2008 - 02:06 PM
Post #1


New D.I.C Head

Group Icon
Joined: 25 Jul, 2008
Posts: 35



Dream Kudos: 25
My Contributions


Not exclusively .NET, Mono acctually...

I want to take "c:\path to my\app\binary.exe" /whatever -fine "this rocks" and turn it into a processStartInfo...
Any ideas?
User is offlineProfile CardPM

Go to the top of the page


PsychoCoder
post 3 Aug, 2008 - 12:32 AM
Post #2


DIC.Rules == true;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,248



Thanked 52 times

Dream Kudos: 7775

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI, Boo.Net

My Contributions


I wrote a tutorial on Parsing command line arguments that may help give you a good start. Also theres a snippet on performing an XCOPY that shows how to add command line arguments to a ProcessStartInfo class.

Hope this helps smile.gif
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/7/08 10:04PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month