I'm currently using this method in calling batch files in vb.net:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
System.Diagnostics.Process.Start("F:\ipconfigflushdns.bat")
End Sub
Is it possible to incorporate the code written in the batch file so that I won't have to call it like the one above?