>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