Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Properties... 1

Status
Not open for further replies.

cwalshe

Programmer
May 28, 2001
84
IE
I am wondering if it is possible to access and copy data from the file properties dialog box and transfer it to a database?
 

Hi,

You can get the properties of a file by using the filesystemObject. E.g. to get til size of a file:

----------------------------------------------------------
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(FileName)
Filesize = CStr(f.Size)
----------------------------------------------------------

Sunaj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top