I am getting error while making the following directory in powershell
mkdir bin NAME tests docs
Here is the error:
A positional parameter cannot be found that accepts argument 'NAME'
I am getting error while making the following directory in powershell
mkdir bin NAME tests docs
Here is the error:
A positional parameter cannot be found that accepts argument 'NAME'
To create a new directory with PowerShell you should be using new-item
An example:
New-Item -Path "c:\" -Name "NAME\test\docs" -ItemType "directory"
Additional documentation found here
mkdir bin NAME tests docs
instead, use comma separated name
mkdir bin, NAME, tests, docs
Get-Command mkdir | Select-Object -ExpandProperty Definition…