@asuffield said:The real WTF here is that Windows Explorer has an arbitrary path length limit that is significantly less than the actual path length limit for Windows applications. Some utter moron at Microsoft used a static buffer that wasn't big enough, in the single most frequently used application that they ship! This may not be just a matter of the size of a static buffer.  If the length limit of about 256 characters is exceeded, you'll need to use Unicode versions of some API functions instead of straight ASCII path names.  See Making Room for Long Filenames and search for CreateDirectory. Oh, and by the way, arbitrary limits are a matter of course in standard UNIX command-line utilities ("too many arguments") so don't act like this symptom is in any way specific to Microsoft... Finally, even if Windows had allowed the Netbeans IDE to create an infinitely long path, it probably would still not have been enough for what NetBeans apparently had in mind here, or at least it would have taken it an infinitely long time to create the directory tree.  Remember, the real WTF here is the infinite recursion in NetBean's directory tree.