home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:10777 alt.msdos.programmer:2791
- Path: 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
-
- >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
-