You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
431 B
17 lines
431 B
on error resume next
|
|
while true
|
|
Set ObjectPath = CreateObject("WbemScripting.SWbemObjectPath")
|
|
ObjectPath.Server = "hah"
|
|
ObjectPath.Class = "ho"
|
|
ObjectPath.Keys.Add "fred1", 10
|
|
ObjectPath.Keys.Add "fred2", -34
|
|
ObjectPath.Keys.Add "fred3", 65234654
|
|
ObjectPath.Keys.Add "fred4", "Wahaay"
|
|
ObjectPath.Keys.Add "fred5", -786186777
|
|
|
|
if err <> 0 then
|
|
WScript.Echo err.number
|
|
end if
|
|
|
|
WScript.Echo ObjectPath.Path
|
|
wend
|