as

Friday, 15 May 2015

Positional Parameter Can not be found that accepts argument

You encounter this error in Windows Powershell saying "Positional Parameter can not be found that accepts the argument xyz".

Well the root cause of the error is that powershell command is not recognizing the parameters that are passed to it. So make sure that command is using correct arguments and right sequence.

This problem usually occurs when the directory name contains spaces.

For example -
As shown in below image, I am trying to change the directory to Visual Studio 2013. But I get the above error.


To fix this problem, I used quotation marks around directory name.



What do you think on this topic? Please express your opinion or ask any question through comment below. You can write to me at reply2sagar@gmail.com

Sponsored Links

Popular Posts

Comments

ShareThis

Google+ Followers

Google+ Badge