Good afternoon,
@Castorix31 has kindly helped me with one part of my project, shown below and i just require assistance for the next easy bit.
Dim sString As String = Nothing
Using sr As New StreamReader("E:\Testxxx.txt")
sString = sr.ReadToEnd()
End Using
Dim sSubString = sString.Substring(sString.LastIndexOf("|") + 1)
Console.WriteLine(sSubString)
How do i send the text stored in sSubString to a CMD line? I need the CMD line to open and run with that text and stay open (so i can check its run ok).
I have looked online but there are multiple examples but can't quite fathom out which should work for me.
Kind regards
Simon