I am having the Text File.How to find out the Size of the file using vb.
Pls Help .....
Ramesh
Printable View
I am having the Text File.How to find out the Size of the file using vb.
Pls Help .....
Ramesh
Msgbox FileLen("c:\autoexec.bat")
will show a message containing the size of autoexec.bat in bytes
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
Dim filesys,f As Object
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetFolder(folderpath)
Msgbox f.Size
Iouri Boutchkine
[email protected]