# batch file

**URL:** <https://forums.powershell.org/t/batch-file/11231>\
**Category:** PowerShell Help\
**Created:** [August 30, 2018, 5:15am UTC](https://forums.powershell.org/t/batch-file/11231 "2018-08-30T05:15:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![majd](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@majd](https://forums.powershell.org/u/majd)\
**Post date:** [August 30, 2018, 5:15am UTC](https://forums.powershell.org/t/batch-file/11231/1 "2018-08-30T05:15:27Z")

</div>

I want create Folder with Batch file and pass the Name of Folder as Parameter with PowerShell is that possible. Any Tips please or tutorial.

---

<div class="post-metadata">

**Author:** ![random-commandline](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@random-commandline](https://forums.powershell.org/u/random-commandline)\
**Post date:** [August 30, 2018, 5:58am UTC](https://forums.powershell.org/t/batch-file/11231/2 "2018-08-30T05:58:20Z")

</div>

```
New-Item -ItemType Directory -Path .\Desktop\TestFolder

Get-Item -Path .\Desktop\TestFolder
```

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [August 30, 2018, 6:23am UTC](https://forums.powershell.org/t/batch-file/11231/3 "2018-08-30T06:23:17Z")

</div>

You can do both in PowerShell itself.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:34pm UTC](https://forums.powershell.org/t/batch-file/11231/4 "2024-05-16T20:34:30Z")

</div>


