|I am trying to use .bat file to grab both the file names and their sizes ONLY. |
Right now I have a name grabber that will pull just the filenames with extensions. So now I need to figure out how to add the file size to the script. Or a totally new script that will do both is fine.
Some of the folders I am working in has over 100 files so trying to type the file sizes into an excel sheet (like I have to do) takes awhile.
This is the only information needed. Can anyone help me with this?
Using Excel 2007 and Vista.
I am currently using this:
dir /a/b/od /-p /o:gen >FileNames.txt
Thanks in adavance,