set objArgs=WSCRIPT.Arguments Set objFSO = CreateObject("Scripting.FileSystemObject") Wscript.Echo objFSO.GetFileVersion(objArgs(0))