thank you for your response. Please tell me what i can do to fix this
problem. Here is the script
================================
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colFiles = objWMIService.ExecQuery("SELECT * FROM CIM_DataFile where
Path = 'c:\\php5\\'")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Directory where
Path = 'c:\\php5\\'")
For Each objFile in colFiles
Wscript.Echo "Name: " & objFile.Name
Next
For Each objItem In colItems
WScript.Echo "Status: " & objItem.Status
WScript.Echo "System: " & objItem.System
WScript.Echo "Writeable: " & objItem.Writeable
Next
================================
==============Error log==============
(Thu Jun 30 07:18:52 2005.288328) : WDM call returned error: 4200
(Thu Jun 30 08:42:39 2005.5314781) : WDM call returned error: 4200
(Thu Jun 30 08:59:56 2005.6352234) : WDM call returned error: 4200
(Thu Jun 30 07:16:05 2005.120656) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:16:05 2005.120656) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:16:05 2005.120656) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:16:05 2005.120656) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:16:05 2005.120656) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:19:51 2005.347093) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 07:19:51 2005.347109) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
(Thu Jun 30 08:14:56 2005.3651828) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
==============end error log===========