---
type: link
tags: [public, hash]
created: 2025-10-27T09:17:57.483Z
---# pwsh create folders from string inside parantheses in current dir

**URL:** [#](#)

pwsh create folders from string inside parantheses in current dir "[folder1 folder2 folder3]" -replace '\[|\]' -split ' ' | ForEach-Object { New-Item -ItemType Directory -Path ".\$_" }


---
**Keywords:** public, hash
