Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(???????) FOR RETURN THE windows system directory
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430858
Message ID:
00430909
Views:
13
>I found using File system object (scrrundll.dll)
>
>
>ox = createobj("scripting.filesystemobject")
>ofolder = ox.getspecialfolder(1) && 0: windows 1:System 2:temp
>? ofolder.name && return SYSTEM
>? ofolder.path && return c:\WINDOWS\SYSTEM (win95)
>
>I wonder does win95, win98 WinNt has this dll. Just checking

No, not necessarily. See this past September's issue of the VFUG (www.vfug.com) newsletter for the article "Introduction to the Windows Script Host" that Ed Rauh and I wrote. Among other things, it tells what versions of Windows it comes with, and how to check if it's installed. The Scripting.FileSystemObject will be covered in next month's (November) issue.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform