Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WSH Version - Help with syntax
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733176
Message ID:
00733195
Views:
16
Here's another way to get WSH version
DECLARE INTEGER GetSystemDirectory IN WIN32API STRING, INTEGER
lcBuffer = SPACE(255)
lnNameLength = GetSystemDirectory(@lcBuffer, 255)
lcSystemDir = ADDBS(LEFT(lcBuffer, lnNameLength))
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
? oFso.GetFileVersion(lcSystemDir + "wscript.exe")
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform