home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10777 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.3 KB

  1. Xref: sparky comp.os.msdos.programmer:10777 alt.msdos.programmer:2791
  2. Path: sparky!uunet!psgrain!ee.und.ac.za!csir.co.za!nuustak!duck
  3. From: duck@nuustak.csir.co.za (Paul Ducklin)
  4. Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
  5. Subject: Re: Number of subdirectories limited ?
  6. Date: 19 Nov 1992 21:18:03 +0200
  7. Organization: CSIR, South AFrica
  8. Lines: 20
  9. Message-ID: <duck.722200495@nuustak>
  10. References: <1992Nov17.111130.17833@cs.tu-berlin.de>
  11. NNTP-Posting-Host: nuustak.csir.co.za
  12.  
  13. >I know there is a limitation on the number of subdirectories in the
  14. >root directory, but is there any limitation in directories other
  15. >than "\" ?
  16.  
  17. DOS doesn't allow path names more than 64 characters long. Since
  18. each level of nesting requires one "\", there's a definite limit
  19. to the amount of nesting you can do. As I recall, "path" includes
  20. the drive letter and a colon, leaving you 62 chars for the
  21. directory hierarchy name, and thus 31 levels of nesting. I s'pose
  22. I'm probably off by one [where does the ASCIIZ terminator go ?],
  23. but you get the idea.
  24.  
  25. Try it and see...
  26.  
  27.  
  28. -- 
  29. --..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--..--
  30. Paul Ducklin                                       duck@nuustak.csir.co.za
  31.  
  32.   CSIR Computer Virus Research Lab * Box 395 * Pretoria * 0001 S Africa
  33.