GetFileVersion (added in WSH 2.0)
http://msdn.microsoft.com/scripting/
VBScript/doc/vsmthGetFileVersion.htm
or
GetFile Method
http://msdn.microsoft.com/scripting/vbscript/doc/vsmthGetFile.htm
with
DateLastModified Property
http://msdn.microsoft.com/scripting/vbscript/doc/vsproDateLastModifie...
The EXE links are downloads of the complete documentation sets in HTMLHelp format - highly
recommended for offline use. The "...User's Guide" content is also included in the downloaded
documentation...
WSH 2.0 Tutorial
http://msdn.microsoft.com/scripting/windowshost/doc/wsTutorialTOC.htm
WSH Documentation
http://msdn.microsoft.com/scripting/windowshost/docs/reference/defaul...
http://msdn.microsoft.com/scripting/windowshost/wshdoc.exe
VBScript User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/vbstutor.htm
VBScript Documentation
http://msdn.microsoft.com/scripting/vbscript/techinfo/vbsdocs.htm
http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe
FileSystemObject User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/jsFSOTutor.htm
VBScript Run-Time Library Reference [FileSystemObject/Dictionary]
http://msdn.microsoft.com/scripting/vbscript/doc/VBSFSOTOC.htm
JScript User's Guide
http://msdn.microsoft.com/scripting/jscript/doc/jsconJScriptUsersGuid...
JScript Documentation
http://msdn.microsoft.com/scripting/jscript/techinfo/jsdocs.htm
http://msdn.microsoft.com/scripting/jscript/download/jsdoc.exe
WSC Tutorial
http://msdn.microsoft.com/scripting/scriptlets/doc/lettitle.htm
WSC Documentation
http://msdn.microsoft.com/scripting/scriptlets/serverdocs.htm
http://msdn.microsoft.com/scripting/scriptlets/wscdoc.exe
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not e-mail me with questions - post them to the newsgroup instead. Thankyou!
--
Quote:
> Not sure if this is the right newsgroup, and would appreciate if someone
> could point me in the right direction.
> I'm looking to have a logon script check the date of an .exe that is on the
> user's computer against a file on the network, and update the user's
> computer if the file is out of date. I have no idea how to go about this
> and would appreciate any assistance given!
> Thanks in advance.
> Jason Lohrenz
> Networking Specialist
> Great Lakes Medicaid