---
type: link
tags: [public, hash]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:55.095Z
---# 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
