That is way to complex for me. There was 102 errors. I am using Visual Studio 2010, Visual Basic 2010. I do not get any of that. I really don't know if there is a difference between VB.Net and regular Visual Basic. Is there just a way that I can put quotes inside of quotes so there would be no need to copy the file?
Example:
I would need quotes inside quotes if the command prompt had to deal with something likes this:
Input C:\Users\User\User Videos\Video.mkv
But the way that I am creating the batch file to do this is with the shell in VB, Like this.
Shell(Environ$("Comspec") & " /c Echo mkvextract tracks %SystemDrive%\Videos\Temp\Video\MkvD_Video_Temp.mkv " & VIDMkvD & ":" & VOtPtMkvD & " " & AIDMkvD & ":" & AOtPtMkvD & ">> %SystemDrive%\Videos\Temp\Jobs\MkvMakeFileD.bat")
But for that way I have to copy the file to a directory with no spaces and a name with no spaces. How would I put quotes in it?
Shell(Environ$("Comspec") & " /c Echo mkvextract tracks "C:\Users\User\User Videos\Video.mkv">> "C:\Videos\Temp\Jobs\Job.bat"")
like that, with all the quotes in it too. Would it work better if I actually made the batch file with vb instead of using the shell? I would prefer to do it that way, but I don't know how. Do you have a solution for that?