在Powershell中创建目录时出错

在Powershell中创建目录时出错,powershell,Powershell,在powershell中创建以下目录时出错 mkdir bin NAME tests docs 以下是错误: A positional parameter cannot be found that accepts argument 'NAME' 要使用PowerShell创建新目录,应使用new item 例如: newitem-Path“c:\”-Name“Name\test\docs”-ItemType“directory” 找到其他文档您想创建什么?Mkdir是新项目的别名。键入Hel

在powershell中创建以下目录时出错

mkdir bin NAME tests docs
以下是错误:

A positional parameter cannot be found that accepts argument 'NAME'

要使用PowerShell创建新目录,应使用
new item

例如:

newitem-Path“c:\”-Name“Name\test\docs”-ItemType“directory”


找到其他文档

您想创建什么?Mkdir是新项目的别名。键入Help New Item-有关如何使用此命令的详细信息您是否尝试一次创建多个目录,还是希望创建一个新目录“bin NAME tests docs”?