# Map Network Drive

**URL:** https://www.finalbuilder.com/forums/t/map-network-drive/5408
**Category:** Discussion
**Created:** [September 17, 2015, 8:09am UTC](https://www.finalbuilder.com/forums/t/map-network-drive/5408 "2015-09-17T08:09:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sascha.isensee](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@sascha.isensee](https://www.finalbuilder.com/forums/u/sascha.isensee)
#### Post date: [September 17, 2015, 8:09am UTC](https://www.finalbuilder.com/forums/t/map-network-drive/5408/1 "2015-09-17T08:09:35Z")

</div>

Hi,  
  
is it possible to map / unmap a network drive with an action?  
An if, what is the best way?  
  
thx

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 17, 2015, 8:31am UTC](https://www.finalbuilder.com/forums/t/map-network-drive/5408/2 "2015-09-17T08:31:22Z")

</div>

Hi,  
  
You can do this using either a FinalBuilder action,&nbsp;Run DOS Command / Batch File action or Powershell action.  
  
Here’s an example batch file:

`REM Batch File to map network drive`

&nbsp;

`NET USE H: \server\share`

&nbsp;

`REM Disconnect a mapped network drive`

&nbsp;

`NET USE H: /d`

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 17, 2015, 8:35am UTC](https://www.finalbuilder.com/forums/t/map-network-drive/5408/3 "2015-09-17T08:35:39Z")

</div>

To answer your second question. The best way, of course, is to use the indispensable&nbsp;FinalBuilder!
