Working for /f script, but need filesizes
Posted on 2011-02-15
I received help before building a script that works great, but I'd like to amend the script to show file sizes of all of the *.mp3 that it finds.
Here is the script(from billprew):
REM Process each line (server name) from server text file
for /F %%A in (Servers3.txt) do (
REM Find all MP3 files on this server and report it
for /F "tokens=*" %%B in ('dir /s /a-d /b \\%%A\Data\*.mp3') do (
How would we get it to list file sizes of the MP3's it finds into the csv?