title: Passing arguments in Process.Start()
body: <p>I want to pass the name of a file as an argument in Process.Start("", ""). However, my parameters don't seem to work. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>Public Class Form1
  
  Public Sub Button1_click(sender As Object, e As EventArgs) Handles btnClick.Click
  
      Dim myFile0 As String = "C:\Users\Desktop\1.pdf"
      Dim myFile2 As String = "C:\Users\Desktop\1s.pdf"
  
      Process.Start("cmd.exe", "/k pdftk" &amp; myFile &amp; "output" &amp; myFile2 &amp; "owner_pw password")
  </code></pre>
  
  <p>That does not work, but if I use the file path instead of myFile0 or myFile2 it works fine. 
  I need to be able to use the variables. </p>
  
  <p>Any inputs why it doesn`t work. I am new to vb.net</p>
  
  <p>Thanks!</p>