batch file copy size

Microsoft Windows 7 home premium 32-bit
April 18, 2010 at 13:21:50
Specs: Windows 7 Home OEM
Hi, I found this interesting command line here to do a backup, but I need some change. I would need to copy files larger than 3k and smaller than 20mb, is there anyway to do this? :
@Echo Off
PushD "C:\users\%username%\My Documents"
For /R "%CD%" %%J in (*.*) Do (
If %%~zJ leq 20000000 Copy "%%J" f:\backup\)


See More: batch file copy size

April 18, 2010 at 16:13:40

Report •
Related Solutions

Ask Question