Too many files in one folder


i have problem here whereby there's more million files in single folder. action require listing of directory practically hangs on attempt; e.g. opening particular folder in windows explorer.

i'm thinking if there way split files folders, each containing 10,000 files?

if you're wondering how scenario happens. front end clients ftp puts folder 24/7.

hello, 

i worked in past in isp had similar problems. solution code script mass of data , create folders 0-9 , a-z , put files inside folders according 1st letter. big folders did 2nd letter, inside folder example created other folder structure 0-9 , a-z , organized file according name.

other option count 10.000 files , put them new folder numbered 001 002, etc or other ordering method...  by counting mean, script runs daily/weekly , job you... let me know if need examples in powershell (which windows version talking here?) here facts limits on windows: http://ask-leo.com/is_there_a_limit_to_what_a_single_folder_or_directory_can_hold.html even if folder can hold more files os / cpu / memory resources list can much.


thank you,

f. schubert
system administrator

mcp | microsoft certified professional
mcts 70-640 | microsoft certified technology specialist: windows server 2008 active directory, configuration
mcts 70-642 | microsoft certified technology specialist: windows server 2008 network infrastructure, configuration



Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file