🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6445

Re: Number of subdirectories limited ?

#6445
From: Paul Ducklin
Date: Thu, 19 Nov 1992 19:18
20 lines
1255 bytes
>I know there is a limitation on the number of subdirectories in the
>root directory, but is there any limitation in directories other
>than "\" ?

DOS doesn't allow path names more than 64 characters long. Since
each level of nesting requires one "\", there's a definite limit
to the amount of nesting you can do. As I recall, "path" includes
the drive letter and a colon, leaving you 62 chars for the
directory hierarchy name, and thus 31 levels of nesting. I s'pose
I'm probably off by one [where does the ASCIIZ terminator go ?],
but you get the idea.

Try it and see...


-- 
--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--
Paul Ducklin                                       duck@nuustak.csir.co.za

  CSIR Computer Virus Research Lab * Box 395 * Pretoria * 0001 S Africa
Technical Details
Message-ID: <duck.722200495@nuustak>
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!ee.und.ac.za!csir.co.za!nuustak!duck
References: <1992Nov17.111130.17833@cs.tu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!ee.und.ac.za!csir.co.za!nuustak!duck
From: duck@nuustak.csir.co.za (Paul Ducklin)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Re: Number of subdirectories limited ?
Date: 19 Nov 1992 21:18:03 +0200
Organization: CSIR, South AFrica
Lines: 20
Message-ID: <duck.722200495@nuustak>
References: <1992Nov17.111130.17833@cs.tu-berlin.de>
NNTP-Posting-Host: nuustak.csir.co.za