title: How to escape spaces in a PowerShell one-liner
body: <p>I want to run an exe with params using powershell one line, like this - </p>
  
  <pre><code>powershell -ExecutionPolicy Unrestricted "Start-Process -Path program.exe -ArgumentList somefile.txt, Run"
  </code></pre>
  
  <p>And it works, but when I am trying to insert full path with spaces it's crashing </p>
  
  <pre><code>powershell -ExecutionPolicy Unrestricted "Start-Process -Path program.exe -ArgumentList "C:\Program Files\somefile.txt", "Run" "
  </code></pre>
  
  <p>I tried to use single quote or escape with ` but it's not helping</p>
  
  <p>Maybe someone know what I do wrong? </p>
  
  <p>P.s. running from inside cmd.exe</p>