By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,112 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,112 IT Pros & Developers. It's quick & easy.

how can i execute a command by using C#?

P: n/a
tc
Hi, all

I would like to ask how can I execute a command(e.g. dir/w) by using C#?

Thanks
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Use the Process class.

--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com

"tc" <yw****@hkem.com> wrote in message
news:eY**************@TK2MSFTNGP12.phx.gbl...
Hi, all

I would like to ask how can I execute a command(e.g. dir/w) by using C#?

Thanks

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.