# Install Error: PATH too long

**URL:** <https://root-forum.cern.ch/t/install-error-path-too-long/30828>\
**Category:** ROOT\
**Created:** [September 26, 2018, 5:45am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828 "2018-09-26T05:45:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Salazar](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/daniel_salazar/32/17156_2.png) [@Daniel\_Salazar](https://root-forum.cern.ch/u/Daniel_Salazar)\
**Post date:** [September 26, 2018, 5:45am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/1 "2018-09-26T05:45:25Z")

</div>

Hi everyone! I hope you are fine.

I’m trying to install the .exe version of ROOT 5.34.36 on Windows 10 choosing the option “Add ROOT to the system path for all users” and when the installation is running shows up an alert that sais something like “WARNING:The PATH name is too long”, and suddenly the process ends. Obviously, I guess, that’s not a good ending, or complete, and therefore ROOT maybe won’t run so well.

Can I solve that problem? I need that option (Access to all users) to run ROOT into the cmd. That’s the matter. I’ve checked if I got the appropiate Microsoft Visual C++ version but I’m not sure. I have the 2008,2009,2010,2012,2013 and 2017.

Do you know what the problem is?

Thank you very much.  
 ![root2](https://root-forum.cern.ch/uploads/default/original/3X/4/2/42ff947cdb2ee0df1f9c7cda6bbab085aefd88b1.jpeg) ![root3](https://root-forum.cern.ch/uploads/default/original/3X/3/5/3508a861708100225cabb3e60cc69ca5c7c46cb5.jpeg)

 ![root1](https://root-forum.cern.ch/uploads/default/original/3X/e/8/e8902e971b59244544d9bed53056d80cb3461299.png)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [September 26, 2018, 6:42am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/2 "2018-09-26T06:42:47Z")

</div>

Hi,

We are aware of this problem, but no idea where it comes from. We will investigate.

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![pamputt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pamputt/32/12526_2.png) [@pamputt](https://root-forum.cern.ch/u/pamputt)\
**Post date:** [September 26, 2018, 6:53am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/3 "2018-09-26T06:53:42Z")

</div>

I also saw this problem while installing ROOT6 on Windows 7 64-bits. Should we open a JIRA ticket to keep in mind this issue?

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [September 26, 2018, 6:57am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/4 "2018-09-26T06:57:07Z")

</div>

You can find plenty of posts …

[Fix 260 character file name length limitation](https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation?tracking_code=32c8b19e00e95981623c3b65db8f21e9)  
[Why does the 260 character path length limit exist in Windows?](https://stackoverflow.com/questions/1880321/why-does-the-260-character-path-length-limit-exist-in-windows)

[Limitation to the length of the System PATH variable](https://software.intel.com/en-us/articles/limitation-to-the-length-of-the-system-path-variable)  
[What is the maximum length of an environment variable?](https://blogs.msdn.microsoft.com/oldnewthing/20100203-00/?p=15083/)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [September 26, 2018, 7:01am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/5 "2018-09-26T07:01:27Z")

</div>

The problem comes from the installer, not from ROOT or from Visual Studio

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [October 10, 2018, 7:01am UTC](https://root-forum.cern.ch/t/install-error-path-too-long/30828/6 "2018-10-10T07:01:28Z")

</div>

Closed on October 10, 2018, 7:01am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
