QT version on Windows

xbury.cs at clearstream.com xbury.cs at clearstream.com
Tue Oct 11 09:00:21 EDT 2005


Here's a VBS script that will printout the version

Option Explicit
Dim oFSO
Dim sPath, sFileVer, sFileName

sPath = "d:\app\quicktime\quicktimeplayer.exe"
Set oFSO = CreateObject("Scripting.FileSystemObject")

sFileVer = oFSO.GetFileVersion(sPath)
sFileName = oFSO.GetFileName(sPath)

Wscript.Echo sFileName & " " & sFileVer
Set oFSO = Nothing

which outputs:

quicktimeplayer.exe 6.3.0.17 


if you dont know how to run a vbs script, here's how:
  put fld "script" into dscript -- this contains your script...
   put dscript into url "file:c:/temp/test.vbs"
  get shell("cscript /nologo" && "c:/temp/test.vbs")
  put it
 
enjoy
Xavier



-----------------------------------------
Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list