Page 1 of 1

how to program a bat file to read the size of a file?

Posted: Fri Jan 07, 2005 2:03 am
by sulmau
Hi all,

I'm new to this forum & this is my 1st post & really need ur help regarding a bat file programming.

I'm currently using the Windows NT 4.0 & need to run a bat file to check the size of the files downloading in a specific folder at specific intervals.

i.e bat file runs every xx minutes & check the size of the files always alphanumeric, & move the files if greater then xx size to another location?

Can anyone let me the exact code to program this type of bat file?

Awaiting helpful reply.

Regards / Sulman

Posted: Fri Jan 07, 2005 11:04 am
by Norm
This may help...
http://www.ericphelps.com/batch/samples/filesize.txt
other sample batch files
http://www.ericphelps.com/batch/samples

What you want is not simple, and I doubt anyone will come around to do it for you, but you never know..

Posted: Fri Jan 07, 2005 11:19 am
by sulmau
Norm wrote:This may help...
http://www.ericphelps.com/batch/samples/filesize.txt
other sample batch files
http://www.ericphelps.com/batch/samples

What you want is not simple, and I doubt anyone will come around to do it for you, but you never know..
Hi,

Can anyone let me know in anyother language this can be programmed & then run under OS Win NT 4.0 to do the task?

or any other idea to do the trick?

Awaiting helpful reply / guideness as always......... :)

Thanks / Sulman