batch file that deletes files under 70k...

June 28, 2011 at 09:02:04
Specs: Microsoft Windows Server 2003, Intel(R) Xeon(R) CPU E5335 @ 2.00Ghz 2.00Ghz 8.00GB of RAM
I need to create a process that will delete all files under 70kb in a specified directory. The directory is on an external drive that is mapped to the server. So for example... T:\Recordings


See More: batch file that deletes files under 70k...

Report •


#1
June 29, 2011 at 08:31:15
@echo off
pushd Your_Directory
for %%j in (*) do if %%~zj lss 71680 del "%%j"
popd

Report •
Related Solutions


Ask Question