{"id":429,"date":"2010-10-11T18:17:02","date_gmt":"2010-10-12T01:17:02","guid":{"rendered":"http:\/\/mattfife.net\/wordpress\/?p=429"},"modified":"2012-08-12T19:20:43","modified_gmt":"2012-08-13T02:20:43","slug":"really-were-still-worried-about-path-variables-and-that-they-have-a-maximum-length","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=429","title":{"rendered":"Really?  We&#8217;re still worried about path variables, and that they have a maximum length?"},"content":{"rendered":"<p>I mean, come on already.\u00a0 I have 8 gigabytes of memory in my machine; and 3 terabytes of storage.\u00a0 Yet, I just spent 30 minutes getting hosed by an (admittedly poorly written\/buggy) installer because I&#8217;d exceeded my DOS path length in Windows 7.\u00a0 Yes, here&#8217;s the official solution to an error if you install the Intel Compiler and get this message:<\/p>\n<blockquote><p> Unable to install the integration into Visual Studio.  Failure in  &#8220;<blahblah>&lt;blahblah&gt;integrate.bat&#8221; &#8220;&lt;blahblah&gt;Microsoft Visual Studio 9.0Common 7Tools&#8221;<br \/>\n<\/blahblah><\/p><\/blockquote>\n<p>If you see it, do <a href=\"http:\/\/software.intel.com\/en-us\/forums\/showthread.php?t=77297\" target=\"_blank\">this<\/a>:<\/p>\n<blockquote><p> Because some others seen the same problem, I&#8217;m posting the solution and the rootcause here.<\/p>\n<p>The  rootcause: our installation adds the &#8220;bin&#8221; directories to the &#8220;path&#8221;  environment variable. so after installed many compiler updates, the  &#8220;path&#8221; exceeded the max and the &#8220;C:Windowssystem32;C:Windows;&#8221; dirs  got pushed out; and potentially off the end of the path.<\/p>\n<p><strong>The solution:<br \/>\n<\/strong>1. uninstall the last compiler update that has reported the error<br \/>\n2. clean-up the &#8220;path&#8221; to remove all the bin directories added by Intel Compiler installation.<br \/>\nAs for how to clean up, goto the property dialog of &#8220;my computer&#8221;.<br \/>\nmake sure the system directories are there.<br \/>\n3.  install the compiler update again: it will add the bin dir again. this  is so you can run your program without adding the bin dir.<\/p>\n<p>The installation of newer compiler does check the length of &#8220;path&#8221; if I remember correctly. But I need to verify this.<\/p><\/blockquote>\n<p>But I mean &#8211; why am I still losing productivity with this kind of bug?\u00a0 Haven&#8217;t we the technology to make a path variable as long as we want now?\u00a0 Ring, ring!\u00a0 Hello?\u00a0 1984 called and wants its operating system back.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I mean, come on already.\u00a0 I have 8 gigabytes of memory in my machine; and 3 terabytes of storage.\u00a0 Yet, I just spent 30 minutes getting hosed by an (admittedly poorly written\/buggy) installer because I&#8217;d exceeded my DOS path length in Windows 7.\u00a0 Yes, here&#8217;s the official solution to an error if you install the Intel Compiler and get this message: Unable to install the integration into Visual Studio. Failure in &#8220;&lt;blahblah&gt;integrate.bat&#8221; &#8220;&lt;blahblah&gt;Microsoft Visual Studio 9.0Common 7Tools&#8221; If you see&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=429\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-technicalproblemsolutions"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-6V","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=429"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":586,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/429\/revisions\/586"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}