I'd like to run some batch code when click on an button.
The thing is I want to create the batch file in VB.NET and not use external batch file.
Finally I want run this batch code - shown in an RichTextBox.
Also - is it possible to change some variables...I mean, for example
$program = "selectedfromlistbox" (in batch.bat)
You can not run batch code within your application just like that.
You should create a temporary batch file (which then can be customized with values selected in your application) and execute that using the