Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Methods
FileSystemObject Object
METHOD: FileSystemObject.GetFileVersion
Implemented in version 2.0
object.
GetFileVersion
(path)
This method is used to return the version of the file in the specified path. If the supplied path string doesn't end with a file, the
GetFileVersion
method will return an empty string. Not all files have a version attribute and these files will also return an empty string.
Note that this method doesn't check the existance or the validity of the supplied path.
Code:
<%
dim filesys, a
Set filesys = CreateObject("Scripting.FileSystemObject")
filesys.CreateTextFile "c:\DevGuru\website\VBScript.txt", True
a = filesys.GetFileVersion("c:\DevGuru\website\VBScript.txt")
Response.Write (a)
%>
Output:
""
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information