>>Naturally, the Windows Script Host FileSystemObject can do this as well:
>* lcfile is the fully qualified file name
>loFSO = CREATEOBJECT('Scripting.FileSystemObject')
>loFile = loFSO.GetFile(lcfile)
>? loFile.Size
>
>
>...talk about using tactical nukes to swat a fly...
Well, I wouldn't go that far< g >.
>(although i understand this is a pre-emptive strike towards Ed's post on this thread)
Absolutely! If Ed saw I didn't add this response, I'd get flogged.:-)
On a serious note, this is just part of a continuing effort to make people aware of the power of the WSH. This ain't even the tip of the iceberg.< s >
George
Ubi caritas et amor, deus ibi est