# Error In Creating Folder

**URL:** <https://forum.electroneek.com/t/error-in-creating-folder/3616>\
**Category:** Studio Pro\
**Tags:** filesystem\
**Created:** [November 29, 2023, 9:00am UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616 "2023-11-29T09:00:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Hayyan](https://forum.electroneek.com/user_avatar/forum.electroneek.com/muhammad_hayyan/32/1746_2.png) [@Muhammad\_Hayyan](https://forum.electroneek.com/u/Muhammad_Hayyan)\
**Post date:** [November 29, 2023, 9:00am UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616/1 "2023-11-29T09:00:45Z")

</div>

Hi [@Everyone](https://forum.electroneek.com/groups/everyone)

I am trying to create a folder in C drive using **create directory activity**. I have manually selected the folder using Studio Pro pick element still when I run my bot it gives me error. Can anyone suggest some solution?

You can refer below picture for the error.

Warm Regards,  
Muhammad Hayyan Khan

 ![image](https://forum.electroneek.com/uploads/default/original/2X/1/1feecd91d372a0e6dc16df37589772a17c90d166.png)

---

<div class="post-metadata">

**Author:** ![Kudlappa\_Gouder](https://forum.electroneek.com/user_avatar/forum.electroneek.com/kudlappa_gouder/32/371_2.png) [@Kudlappa\_Gouder](https://forum.electroneek.com/u/Kudlappa_Gouder)\
**Post date:** [December 4, 2023, 11:00am UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616/2 "2023-12-04T11:00:33Z")

</div>

@Muhammad_Hayyan Some systems may have security policies or group policies that restrict write access to certain directories, including the root of the C: drive. Check with your IT administrator to ensure there are no such restrictions in place.

If you try to create folder inside any other folder of C: or D: drive it should work.  
Example: Create directory under C:\folder1 and test if this works

When you try to create folder in any root directory such C: D: E: this can happen due to your security policies

---

<div class="post-metadata">

**Author:** ![Muhammad\_Hayyan](https://forum.electroneek.com/user_avatar/forum.electroneek.com/muhammad_hayyan/32/1746_2.png) [@Muhammad\_Hayyan](https://forum.electroneek.com/u/Muhammad_Hayyan)\
**Post date:** [December 4, 2023, 12:33pm UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616/3 "2023-12-04T12:33:22Z")

</div>

I am using Azure external machine, Admin portal. I don’t think so there would be any sort of restrictions that blocks me accessing the drive. But yes I’ll def check it and confirm if I have the access to C drive or not.  
Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![Jorge\_RPA](https://forum.electroneek.com/user_avatar/forum.electroneek.com/jorge_rpa/32/746_2.png) [@Jorge\_RPA](https://forum.electroneek.com/u/Jorge_RPA)\
**Post date:** [December 4, 2023, 7:28pm UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616/4 "2023-12-04T19:28:40Z")

</div>

Hello @Muhammad_Hayyan

As mentioned by Kudlappa, this often occurs due to Windows security reasons. I would like to provide you with a detailed guide for creating directories on Drive, whether on the C:, D:, or any other drive. Below are the steps you should follow:

1. In the “Directory path” parameter, make sure to enter the complete path where you want to create the directory (e.g., C:\Task).
2. Select the “Calculate a value” option in the “Directory name” parameter.
3. Leave the “Directory name” field empty, entering only two double quotation marks (“”).

![image](https://forum.electroneek.com/uploads/default/original/2X/6/61e2d458eb667e07165555026a11ff1b2c5dd1b3.png)

By following these steps, you will successfully create the directory in the specified location.

If you need further assistance or have any questions, please feel free to reach out to us.

---

<div class="post-metadata">

**Author:** ![Muhammad\_Hayyan](https://forum.electroneek.com/user_avatar/forum.electroneek.com/muhammad_hayyan/32/1746_2.png) [@Muhammad\_Hayyan](https://forum.electroneek.com/u/Muhammad_Hayyan)\
**Post date:** [December 7, 2023, 10:45am UTC](https://forum.electroneek.com/t/error-in-creating-folder/3616/5 "2023-12-07T10:45:20Z")

</div>

Yup! It worked 👍

Thank you for the help 😄
