to search and find large files in dos/windows

Posted on 2008-10-01
Last Modified: 2012-05-05

I want to find all the files which are more than 5 MB in windows.(in all directories). Is there a command by which we can do that? Thanks in advance..
Question by:conversekid
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

Assisted Solution

berni1234 earned 100 total points
ID: 22613390
take a look on this solution. it seems that is exactly, what  you need ....

Assisted Solution

dwagn215 earned 50 total points
ID: 22613505
You can use the windows search option--there is an advanced tab which will let you chose your criteria (<>=5 mb etc). you will also have to chose the C: drive. let me know if that helps
LVL 12

Assisted Solution

rionroc earned 50 total points
ID: 22615524

I've develop a program for you.
I hope this helps:

Great is our GOD.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 22616172
Hello Rionroc,
Thanks for your help but.I am unable to download the program..Please check the link..

Author Comment

ID: 22616259
Hi berni1234:,

The solution given at  is great..however can we edit in such a way that we can get the input from the user like file size and file location etc and then find the files according to the users requirement. Thanks in advance..
LVL 63

Accepted Solution

SysExpert earned 200 total points
ID: 22616843
this one is even better and allows  you lots of options , it is very small and free.

I hope this helps !
LVL 12

Expert Comment

ID: 22621109
Hello conversekid

I checked the link, its OK for download, and It's my FTP server I'm sharing with you.

Refresh the page.

Great is our GOD.

Assisted Solution

devil_himself earned 100 total points
ID: 22621294
usage --> NameOfBatchFile PathToFolderInDoubleQuotes SizeInBytes
ex - echosub "d:\tmp" "50000000"
 @echo off & setlocal enableextensions
  for /f "tokens=*" %%f in ('dir "%~1" /b /s /o-d') do (
    if %%~zf GEQ "%~2" echo "%%~ff"
  endlocal & goto :end

Open in new window


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

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