1.

Solve : how to copy just file names and their size in a notepad file??

Answer»

hi i want a program/utility/code which just COPY the FILE names in a WHOLE disk and their size also in a notepad file something like log file plz help... Download, and install Disk SPACE Reporter: http://www.softpedia.com/get/System/System-Info/Disc-Space-Reporter.shtml
In opening windows, select a drive to be scanned. Make sure, there is a checkmark in Store filenames in database.
Click Start button.
@echo off
dir /b /o:-s /s C:\ > file.txt
for /f "delims=" %%a in (file.txt) do (
echo %%a %%~za >>files.txt
)
DEL file.txt
notepad files.txt
pause



Discussion

No Comment Found