Search found 3 matches

by yky
16 Sep 2014 00:42
Forum: DOS Batch Forum
Topic: list files with full path and size
Replies: 6
Views: 5224

Re: list files with full path and size

I posted the following reply few days back but it is gone. Not sure what happened.

I found that the following command would do what I want:

forfiles /s /M *.exe /c "cmd /c echo @path @fsize"
by yky
14 Sep 2014 04:47
Forum: DOS Batch Forum
Topic: list files with full path and size
Replies: 6
Views: 5224

Re: list files with full path and size

Thanks to everyone who replied to my question.

I found that the following command does what I want:

forfiles /s /M *.exe /c "cmd /c echo @path @fsize"

This command lists .exe files with their full path and size. From there I can filter off those whose size is not 46620.
by yky
08 Sep 2014 18:13
Forum: DOS Batch Forum
Topic: list files with full path and size
Replies: 6
Views: 5224

list files with full path and size

How do I list files with the full path and size? "Dir /s /b" lists files with full path but no file size. My computer is full of peculiar executable files. For every folder, there is a corresponding executable with the same name. For example, there are executables named "Program Files...