Solved

Directory Question

Posted on 2002-04-24
11
149 Views
Last Modified: 2010-04-13
Hello Experts:

I can remember back to the Windows 95 days when you were limited to the number of directories that could be created at each level.

Does this rule apply to Windows 2000?  and if so, what is the limit per level?
0
Comment
Question by:zdpl0a
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +4
11 Comments
 
LVL 1

Expert Comment

by:tarun209
ID: 6967535
probaly no limits
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 6967611
Windows does not have a restriction on how many folders/directories you create at each level, nor how many levels deep you go... however, WinNT has had situations arise where a file could not be opened because the path name was too long (too many sub-folders).  I think the max was 255 characters, but not sure.
0
 
LVL 12

Accepted Solution

by:
pjknibbs earned 50 total points
ID: 6967876
It depends on the file system, not the operating system. FAT16 volumes created by ANY OS (up to and including Windows XP) have a limit of 512 entries in the root directory--no other folder has this limit. (Note that since long filenames utilise extra entries in the directory table on a FAT volume you might fit fewer than 512 items in the root).

FAT32 volumes and NTFS volumes have no restrictions on their root folders, however--you can put as many files in the root as will fit on the disk if you please!
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 1

Expert Comment

by:laoisjoe
ID: 6968287
I've written batch files to create folders automatically, and I can definitely tell you that the max. number of folders that can reside at one level is 65536 in Windows 2000. A disk full message will appear after that if you try to create new folders or copy new files into that area.

Regards
0
 

Author Comment

by:zdpl0a
ID: 6968894
laoisjoe

is there written documentation on this?
0
 
LVL 5

Expert Comment

by:matt023
ID: 6987243
laoisjoe, was the disk full after your batch file created 65536 folders?
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7139951
laoisjoe, welcome to EE! Please be respectful of other experts and please do not propose an answer until you are absolutely sure that this will fix the users problem. I have personally already posted step by step instructions as to the creation of a mirror. Whilst you have proposed an answer you have also locked the question so that no other experts may comment. Please post comments and if the user sees that it will fix their problems then they can accept it as an answer.
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 7140271
Not only did he lock the question, he locked it with the WRONG ANSWER. I just ran this simple batch file in the TEMP directory on my Windows XP machine:

for %%i in (1 1 66000) DO mkdir %%i

and it quite happily went away and created 66000 subfolders. Of course, this is on a machine using the NTFS file system, so your mileage may vary if you're using FAT32--but that just goes back to the point I made earlier that folder limits are a file system issue, not an operating system issue.

In fact, a thought has just occurred to me--if the partition on which laoisjoe ran his test was formatted using the FAT16 file system (although why this would be so I wouldn't like to guess) then he would be limited to slightly less than 64K files in total on the drive, due to cluster size limitations. This might be the limit he ran into, not a hard-coded directory limit.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7141239
zdpl0a, can you please unlock this question and I think either EricWestbo or pjknibbs may be able to answer your question for you.

Thanks
0
 

Author Comment

by:zdpl0a
ID: 7267516
sorry for the long delay...been out of town
0
 

Author Comment

by:zdpl0a
ID: 7267523
Thanks for all of your help .. i have verified this with an online source.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Changing MS Windows 2003 Server product key 6 330
Disk size support for operating systems 12 540
Domain dunctional level. 4 332
Windows startup/shutdown date/time log 7 164
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question