Batch to find CSV files with zero bytes

Microsoft Windows xp professional (upgr...
June 14, 2010 at 22:30:09
Specs: Windows XP
i want either a batch or vb script to find a 0 kb file with .csv extension in a particular folder and it should display the size if its 0 kb and also if its not 0 kb

See More: Batch to find CSV files with zero bytes

Report •

June 15, 2010 at 14:40:49
@echo off & setLocal EnableDELAYedeXpansion

pushd c:\files
for /f "tokens=* delims= " %%a in ('dir/b *.csv') do (
echo.%%a %%~Za

Helping others achieve escape felicity


Report •

June 15, 2010 at 21:41:53
thanks for the script.

Report •

June 18, 2010 at 04:32:33
I have 3 files in .csv format in particular directory,I want to display the all the 3 filename with size .If any of the file is 0 kb then i want to call a corresponding script to update the corresponding file.if the file size is not 0 then i want to exit .Thanks

Report •

Related Solutions

Ask Question