Reputation: 67
Ok i have very basic question and stackoverflow struggles me with formatting. I tried several links for changing windows powershell directory to another one but it always gives error like in this link;
Primarily this:
Set-Location -Path C:\Program Files
produces
Set-Location: A positional parameter cannot be found that accepts the argument 'Files'.
Upvotes: 0
Views: 178
Reputation: 40818
There are several different errors there. I think the main thing you are missing is that if the path has a space, you need to put quotes around it. Either single or double quotes will work.
Upvotes: 1