# Path problem level 3 assignment 2

**URL:** <https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572>\
**Category:** Academy Feedback\
**Tags:** academy\
**Created:** [September 13, 2020, 6:26pm UTC](https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572 "2020-09-13T18:26:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manal\_el\_maalem](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/manal_el_maalem/32/220505_2.png) [@manal\_el\_maalem](https://forum.uipath.com/u/manal_el_maalem)\
**Post date:** [September 13, 2020, 6:26pm UTC](https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572/1 "2020-09-13T18:26:27Z")

</div>

i should save my file in this path data\_Temp but it’s saved in anther one wish is not my current path  
path = path.Combine(Environment.CurrentDirectory, in\_ReportsDownloadPath, “Report-” + in\_TaxID + “-” + in\_Year + “-” + month + “.csv”)  
any help

---

<div class="post-metadata">

**Author:** ![RoboHeart](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/roboheart/32/217708_2.png) [@RoboHeart](https://forum.uipath.com/u/RoboHeart)\
**Post date:** [September 14, 2020, 8:03am UTC](https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572/2 "2020-09-14T08:03:03Z")

</div>

Hi @manal_el_maalem

usually, when you use `Environment.CurrentDirectory` in a UiPath project it should give you the full path of the current working directory of your related UiPath project.  
If you want to use another location you have to change `Environment.CurrentDirectory` by a string with this full path.

---

<div class="post-metadata">

**Author:** ![dunglt](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dunglt/32/181758_2.png) [@dunglt](https://forum.uipath.com/u/dunglt)\
**Post date:** [September 14, 2020, 9:24am UTC](https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572/3 "2020-09-14T09:24:51Z")

</div>

Use `String.Format()` method instead of `in_ReportsDownloadPath, “Report-” + in_TaxID + “-” + in_Year + “-” + month + “.csv”)` and make sure the result of combine string dont start with “/”.  
Example:  
`fileName= String.Format("{0}Report-{1}-{2}-{3}.csv",in_ReportsDownloadPath,in_TaxID,in_Year,month)`

` path=path.Combine(Environment.CurrentDirectory,fileName)`

---

<div class="post-metadata">

**Author:** ![callezenwaka](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/callezenwaka/32/196980_2.png) [@callezenwaka](https://forum.uipath.com/u/callezenwaka)\
**Post date:** [March 17, 2021, 12:08pm UTC](https://forum.uipath.com/t/path-problem-level-3-assignment-2/255572/4 "2021-03-17T12:08:20Z")

</div>

> [@dunglt](#):
>
> path.Combine(Environment.CurrentDirectory,fileName)

Thanks @dunglt

Your solution resolved my problem.
