Hack Forums
[.NET] Automate CMD Commands in Visual Basic - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Automate CMD Commands in Visual Basic (/showthread.php?tid=5651355)



Automate CMD Commands in Visual Basic - KyFu - Jun 20, 2017

I've got everything set up, the only thing I need help with is running CMD commands (such as "/ipconfig" )

I've already integrated CMD into VB. I'm learning, but I can't find a tutorial on how to automatically execute multiple commands 😭

Can anyone direct me how to do so?


/No help needed.
FORC3FI3LD has helped me out


* - KyFu - Jun 20, 2017

(Jun 20, 2017 11:19 AM)Orka Wrote:  Pulling information like this can be done in .NET itself. You can get host and address entries easily like with ipconfig.

I got it all figured out :) Thank you though! I'll keep this in mind for the next time i need to use those commands