vb.net How to pass a string with spaces to the command line

后端 未结 6 1765
轻奢々
轻奢々 2020-12-11 23:02

I am trying to call an external program using Process:

    Dim strExe As String = \"E:\\Projects\\Common Files\\mktorrent.exe\"
    Dim p As New Process
             


        
6条回答
  •  情书的邮戳
    2020-12-11 23:14

    Please check the below link, its in C#, may be its helpful to you

    Word command-line-arguments space issues

提交回复
热议问题