•Arnošt Havelka
Create Directories in PowerShell
Build directory structures with New-Item.
Start Interactive LessonCreate Directories in PowerShell
The New-Item command can also create directories. Learn to organize your file system with folders.
Creating Directories
Usage:New-Item -Path [dirname] -ItemType Directory
Create a single directory
Directory Creation
Command Prompt
documents.txt
C:\Users\User>ls
Knowledge Check
1 / 1How do you create a directory named 'data'?
References
These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.