Skip to content

How to access Command prompt programmatically?

bhargavan

Asked Jan 13, 2006, 9:54 AM EST1 answer
Share
LinkedInX
Does any body know how to access the command prompt programmatically. Basically, I want to read a ftp link, username and password from a XML file and then open up command prompt and connect to the ftp server so that the end user can just look the files in the server without much effort.
Thanks,
Bhargavan

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Use the System.Diagnostics.Process class. MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsProcessClassTopic.asp
    0