Hi guys,
I'm quickly throwing togther a test app using vb. I'm trying to send a string to the command line using this code
The only problem is that the txtString input box sometimes will need to send speech marks to the command line (")
for example txtString.Text could equal "D:\a new movie.avi"
Any idea on how i overcome this?
cheers
I'm quickly throwing togther a test app using vb. I'm trying to send a string to the command line using this code
Code:
Dim cmd As String cmd = ("C:\mplayer\mplayer.exe" + txtString.Text) Shell(cmd, AppWinStyle.NormalFocus)
for example txtString.Text could equal "D:\a new movie.avi"
Any idea on how i overcome this?
cheers
Comment