Saturday, December 6, 2008

To Know the Type of File

Set obj=createobject("Scripting.filesystemobject")
Set of=obj.getfile("c:\1.xls")
s=of.type
msgbox s

No comments:

Post a Comment