-
I'm trying to send a command line to a program from a shell command,
the command line is: bplay.exe "movie.avi" [-FS]
In vb its a little hard due to there being quotation marks,
I've tryed this and program just can't find the file,
please!! help me correct this syntax:
Shell (App.Path + "\" + "bplay.exe " + Chr(34) + "movie.avi" + Chr(34) + " [-fs]")
THANKS!!
-
Do you have both the bplay.exe and the movie.avi in the same directory (App.Path)?
In that case you might just try to make App.Path the current directory before you call the Shell statement.
Code:
ChDir App.Path
Shell App.Path & "\bplay.exe ""movie.avi"" [-fs]"
As you can see in the above example is that if you use two quetation marks you can add them in one string.
Best regards
-
Thanks
I can't believe it, I was almost sure I tried it and it wouldn't work, but it did, thanks!!