www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/15:17:06

Date: Sun, 4 Oct 1998 12:43:31 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Arne Glenstrup <panic AT diku DOT dk>
cc: djgpp AT delorie DOT com
Subject: Re: mkdir chokes on `i386-msd' directory name
In-Reply-To: <Pine.HPP.3.95.981002101158.17914B-100000@grimer.diku.dk>
Message-ID: <Pine.SUN.3.91.981004124310.1863R-100000@is>
MIME-Version: 1.0

On Fri, 2 Oct 1998, Arne Glenstrup wrote:

> I'm sorry to say that my problem description was rather vague; it turned
> out that the real problem was in using `mkdir' for directories whose
> absolute path names would be longer than approximately 66 characters.
> I.e., if Ithe current directory is
> 
>  /23456789/12345678/01234567/90123456/89012345/78901234/67890123/
> 
> then `mkdir 56789012' fails.

This is a known and well-documented limitation of DOS.  The problem is
not only with the length of the pathname, it's also with the nesting:
DOS cannot handle pathnames more than 8 levels deep and more than 64
characters long.

Btw, Windows 9X removes these limitations.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019