Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Any way to run a powershell script in a directory with spaces in it, just by doubleclicking on it.

$
0
0

Hello,

Is there anyway to run a powershell script in a  directory with spaces in it, just by doubleclicking on it?

For example I browse to c:\my folder with explorer and click on myscript.ps1, it won't run.  It runs just fine if I open a powershell console.

-Eric


Viewing all articles
Browse latest Browse all 21975

Trending Articles