T tc Dec 20, 2003 #1 Hi, all I would like to ask how can I execute a command(e.g. dir/w) by using C#? Thanks
B Bob Powell [MVP] Dec 20, 2003 #2 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
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