Limit incoming file size

A

Andrew

Hi guys,

Is there any way to limit the size of incoming file? For e.g, when copying
*.* to C:\TEMP, any files bigger than 2MB will not be copied and only others
are copied.

Thanks.
 
N

Nick

Andrew said:
Hi guys,

Is there any way to limit the size of incoming file? For e.g, when copying
*.* to C:\TEMP, any files bigger than 2MB will not be copied and only
others are copied.

You don't specify what type of system this is. Incoming from where (eg
network) and how (by email).

Nick
 
P

POP

In
Andrew said:
Hi guys,

Is there any way to limit the size of incoming file? For e.g,
when
copying *.* to C:\TEMP, any files bigger than 2MB will not be
copied
and only others are copied.

Thanks.

xcopy.exe can do it; it's part of XP. xxcopy.exe can do it
(search for it on Google). You can Search for file size ranges;
and not see over 2M files & thus not copy them. You can Sort on
file sizes to the big ones are easy to see. Etc. Lots os ways
to do that.
 
A

Andrew

Thanks.
My actual purpose is to copy a folder from other PC automatically. Since the
space is limited, files must be filtered.

I cannot figure out how xcopy can do it.
XXCOPY is a very good tool but it is for personal use only which is not
appropriate.
Sorting them or searching them is kind of manual step and it is different
from my purpose.

Finally, I found robocopy from resources kit. It solved my problem.

Thank you very much for your help!! :>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top