An object-oriented programming language developed by Microsoft that can be used in .NET.
Hi @Simon Scott ,
I need the CMD line to open and run with that text and stay open
I make a test on my side and here's the code you can refer to.
Public Sub ExecuteCommand(ByVal command As Object)
Dim procStartInfo As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo("cmd", "/k" & command)
Dim proc As System.Diagnostics.Process = New System.Diagnostics.Process()
proc.StartInfo = procStartInfo
proc.Start()
End Sub
'...
ExecuteCommand(sSubString)
Hope it could be helpful.
Best Regards,
Xingyu Zhao
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.