title: Need to call powershell script from batch file
body: <p>I have a batch file which is in a folder called script. The script folder also contains folder called powershell which has a script called IE-Settings.ps1.</p>
  
  <p>I want to execute the powershell script from the batch file and I am unable to give powershell script path in the command. What I tried is</p>
  
  <pre><code>call %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -File "&amp; '%~dp0IESettings\IE-Settings.ps1'" 
  </code></pre>
  
  <p>But it doesn't recognize the path</p>