Dear all,
I have the following piece of code which is to select the Name from the Win_Directory where the corresponding Path has a specific value.
The line in question is
Set colItems=objWMIService.ExecQuery("Select Name from Win32_Directory where Path = 'c:\utilities'")
The query runs without error but doesn't return a value. The c:\utilities does exist on the c:\ drive.
Any ideas why this code isn't returning a value.
Thanks and regards
Alf
I have the following piece of code which is to select the Name from the Win_Directory where the corresponding Path has a specific value.
The line in question is
Set colItems=objWMIService.ExecQuery("Select Name from Win32_Directory where Path = 'c:\utilities'")
The query runs without error but doesn't return a value. The c:\utilities does exist on the c:\ drive.
Any ideas why this code isn't returning a value.
Thanks and regards
Alf