Re: Too many files in one directory...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jesse Gardner (ih8spam_at_badcrc.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 15:24:25 -0600

Thanks, I was actually planning on doing that. I'm just waiting to hear
back from our developers to make sure they don't have any legacy
software that would be affected.

Thank you for your help!

-Jesse

Pat [MSFT] wrote:

> I would also suggest making sure that the the create 8.3 name is disabled
> (you may want to test that this doesn't break some app compatibility). This
> is a very common cause of perf problems in folders with a large number of
> files (esp. if the files have similar names).
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;121007
>
> Pat
>
> "Jerold Schulman" <Jerry@jsiinc.com> wrote in message
> news:12p5l0h8ivdi44i0dm1bb68lji40v8lvd9@4ax.com...
>
>>Really Rerally Final version:
>>
>>@echo off
>>if {%2}=={} @echo Syntax: ExcessivelyLargeNumberOfFiles.bat Folder1
>>Tolerance1
>>[Folder2 Tolerance2 ...]&goto :EOF
>>setlocal
>>:loop
>>if {%1}=={} goto finish
>>set folder=%1
>>set /a tol=1000000%2%%1000000
>>shift
>>shift
>>if not exist %folder% @echo Folder %folder% does NOT exist.&goto :loop
>>set subf=%folder%
>>call :testsub
>>for /f "Tokens=*" %%a in ('dir %folder% /b /ad /s') do (
>>set subf="%%a"
>>call :testsub
>>)
>>goto loop
>>:finish
>>endlocal
>>goto :EOF
>>:testsub
>>set /a num=0
>>for /f "Tokens=1-4" %%a in ('dir %subf% ^|Find " File"^|Find " bytes"') do
>>(
>>set /a num=1000000%%a%%1000000
>>)
>>if %num% LEQ %tol% goto loop
>>@echo %subf% %num%
>>goto :EOF
>>:finish
>>endlocal
>>
>>
>>
>>On Tue, 21 Sep 2004 16:55:25 -0600, Jesse Gardner <ih8spam@badcrc.com>
>>wrote:
>>
>>
>>>Here at work we have a recurring problem where our programmers have
>>>horrible file structure maintenance... (ie, we will get complaints
>>>about slowness and after troubleshooting everything under the sun, we
>>>will find a folder with >40,000 files in it. After cleaning it up
>>>things run smoothly again.)
>>>
>>>Do any of you know of a program or utility that will help you to search
>>>for excessively large numbers of files in a directory? (like xtree or
>>>ztree --Preferrably something better/gui)
>>>
>>>
>>>TIA!!!
>>
>>
>>Jerold Schulman
>>Windows: General MVP
>>JSI, Inc.
>>http://www.jsiinc.com
>
>
>



Relevant Pages

  • Re: GAPI and VGA 480x640 mode
    ... to enable backwards compatibility until developers get a chance to update ... tools will not have any legacy mode. ... >> resource item when the legacy application loads. ... >>> Mobile Devices Product Group ...
    (microsoft.public.pocketpc.developer)
  • So lets build a router
    ... You have a small hardware, software, and marketing group. ... Do you work with the hardware group? ... and that someone is very often developers along ... input into any planning game. ...
    (comp.object)
  • Re: need software to include to all spouses and all children in ancestor report and import irregular
    ... I'm not that anxious to pin down the details - let the developers themselves ... Origins not still available and takes you to Legacy. ... FO was purchased by FTM and disappeared. ... and so they owned the marketing rights to FO... ...
    (soc.genealogy.computing)
  • Re: What do you do when...
    ... I'm planning a dive soon, and I'm still waiting for some fins and a flashlight that was ordered a month ago. ...
    (rec.scuba)
  • Re: Looking for suggestions ....
    ... Let it be known that Harry is now accusing someone of planning ... waiting for another little ego victory on the internet. ... to sit around waiting to see if you hurt anybodys feelings from under ...
    (rec.boats)