dear sir,

currently i m doing a research on communication between a shell program in
command prompt with vb.net. i tried to launch my dos cmd command using my
program in vb.net
but if i wish to pass some parameter how can i do so???

for example, shell out my cmd dos command then i wan to pass in parameter
like c: then let the command prompt process then i pass again another parameter
and get the respond
can it do something like tat in vb.net

pls advice me wif some sample example.

thanks v.much for ur advice.
peiyoon

currently i am testing on following code:

Dim myProcess As Process = New Process()
myProcess.StartInfo.FileName = "notepad"
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
myProcess.EnableRaisingEvents = True
System.Windows.Forms.SendKeys.SendWait("2")
System.Windows.Forms.SendKeys.SendWait("{Enter}")
System.Windows.Forms.SendKeys.SendWait("3")

i am able to perform so from notepad not able for command prompt window.