Search found 5 matches

by jabbyjim
09 Dec 2015 15:54
Forum: DOS Batch Forum
Topic: batch file to list files over a certain file size recursively
Replies: 31
Views: 19673

Re: batch file to list files over a certain file size recursively

its no problem.. I am sure I confused everyone in my process. Its the way my brain works when I get excited. anyway, that snippet worked well, thank you.. I just need to make an adjustment so it shows the size also. currently it just does a list of the files fitting the size parameter --------------...
by jabbyjim
09 Dec 2015 14:11
Forum: DOS Batch Forum
Topic: batch file to list files over a certain file size recursively
Replies: 31
Views: 19673

Re: batch file to list files over a certain file size recursively

I never even knew about ForFiles until this moment .. which changes EVERYTHING. It helps to know EVERYTHING about your task when you ask for support - that way you get the best suggestions and most appropriate solution. The code you provided doesn't give the output that you showed - so what you hav...
by jabbyjim
09 Dec 2015 12:07
Forum: DOS Batch Forum
Topic: batch file to list files over a certain file size recursively
Replies: 31
Views: 19673

Re: batch file to list files over a certain file size recursively

Alternative: @ForFiles /P C:\ /S /C "Cmd /C If @IsDir==FALSE If @FSize LEq 10000 Echo @FSize0x09@Path" how the ... holy crap How did you do this? This worked but ... I'm at a complete loss in how this works!?! I'm BLOWN away Honestly you just blew my mind .. I never even knew about ForFil...
by jabbyjim
09 Dec 2015 12:01
Forum: DOS Batch Forum
Topic: batch file to list files over a certain file size recursively
Replies: 31
Views: 19673

Re: batch file to list files over a certain file size recursively

@echo off set topnode=C:\ set maxsize = 10000 pushd %topnode% for /R "%topnode%" %%G in (*.*) do IF %%~zG LEQ %maxsize% echo %%G popd Wow thank you for this. Oddly enough it did something completely goofy on my computer though .. Not sure why.. but this looks good. Pulling out the variabl...
by jabbyjim
08 Dec 2015 13:11
Forum: DOS Batch Forum
Topic: batch file to list files over a certain file size recursively
Replies: 31
Views: 19673

batch file to list files over a certain file size recursively

Greetings .. I considered myself pretty good at this until I have seen the work in this forum. WOW! This is what I have so far ... which lists file size then the file w/directory but I'm unsure how to restrict output by the file size. @echo off set topnode=C:\ set maxsize = 10000 pushd %topnode% for...