From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:OYHB%23ILQLHA.4828(a)TK2MSFTNGP05.phx.gbl...
>
> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
> news:ep48gHLQLHA.2104(a)TK2MSFTNGP04.phx.gbl...
>>
>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>> news:%23Lc33SNOLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>
>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>> news:%23RRV2owNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>>> news:ufjzPzjNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>
>>>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>>>> news:%23GotpxjNLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>>>>
>>>>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>>>>> news:O$meaHKNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>>>
>>>>>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>>>>>> news:OqQgqgCNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>>>>
>>>>>>>> "Leon" <kim.zethsen(a)gmail.com> wrote in message
>>>>>>>> news:573ad260-1953-468d-b52e-5934af8588fe(a)c10g2000yqi.googlegroups.com...
>>>>>>>> I see I'm a little unclear
>>>>>>>> What I mean is i have read ther are a event to be captured when
>>>>>>>> files
>>>>>>>> are modified.
>>>>>>>> That should be included in InstanceOperationEvent - but it does not
>>>>>>>> work.
>>>>>>>> Only 2 events are comming up - creation and deletion
>>>>>>>>
>>>>>>>> On 4 Aug., 16:00, Leon <kim.zeth...(a)gmail.com> wrote:
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> it seem there are only two events responding to wmi
>>>>>>>>> InstanceOperationEvent.
>>>>>>>>> namely creation and deletion
>>>>>>>>>
>>>>>>>>> nevertheless I see there are a modified also
>>>>>>>>>
>>>>>>>>> What am I missing?
>>>>>>>>>
>>>>>>>>> I tried this...
>>>>>>>>>
>>>>>>>>> strComputer = "."
>>>>>>>>> Set objWMIService = GetObject("winmgmts:" _
>>>>>>>>> & "{impersonationLevel=impersonate}!\\" & _
>>>>>>>>> strComputer & "\root\cimv2")
>>>>>>>>> Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
>>>>>>>>> ("SELECT * FROM __InstanceOperationEvent WITHIN 0.1 WHERE " _
>>>>>>>>> & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
>>>>>>>>> & "TargetInstance.GroupComponent= " _
>>>>>>>>> & "'Win32_Directory.Name=""C:\\\\temp\\\
>>>>>>>>> \myfolder""'")
>>>>>>>>> Do
>>>>>>>>> Set objLatestEvent = colMonitoredEvents.NextEvent
>>>>>>>>> msgbox "event is " & objLatto estEvent.path_.class
>>>>>>>>> loop
>>>>>>>>>
>>>>>>>>> Cheers
>>>>>>>>
>>>>>>>> Dear Leon,
>>>>>>>> You forgot to check you're spelling and grammar. And I think what
>>>>>>>> you're missing is you should do 2 things with those files you typed
>>>>>>>> on this E-Mail is you could type them in MS-Dos Prompt if you have
>>>>>>>> that on you're computer. Or if you have those files, you can see if
>>>>>>>> you have them in Windows Explorer. If you have any problems, please
>>>>>>>> let me know by emailing me at 2 addresses. LarsenK(a)verizon.net or
>>>>>>>> kuhlpc#2(a)optimum.net.
>>>>>>>>
>>>>>>>> From,
>>>>>>>> Kenny
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:uwzd%23HLQLHA.2308(a)TK2MSFTNGP05.phx.gbl...
>
> "Al Dunbar" <alandrub(a)hotmail.com> wrote in message
> news:OhekJwmOLHA.1996(a)TK2MSFTNGP06.phx.gbl...
>> For probably the same reason that he never answers direct questions about
>> his purpose for posts in which he either says "you're welcome" in
>> response to thanks intended for someone who actually helped someone.
>>
>> /Al
>>
>> "Leon" <kim.zethsen(a)gmail.com> wrote in message
>> news:5a11aa49-7dd8-4a16-842a-6ee559e2bfa4(a)f42g2000yqn.googlegroups.com...
>>> why are you spamming with repeatedly saying nothing?
>>>
>>> On 10 Aug., 23:40, "Kenneth A. Larsen" <kuhlp...(a)optimum.net> wrote:
>>>> "Kenneth A. Larsen" <Lars...(a)verizon.net> wrote in
>>>> messagenews:%23RRV2owNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > "Kenneth A. Larsen" <Lars...(a)verizon.net> wrote in message
>>>> >news:ufjzPzjNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>> >> "Kenneth A. Larsen" <kuhlp...(a)optimum.net> wrote in message
>>>> >>news:%23GotpxjNLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>>
>>>> >>> "Kenneth A. Larsen" <kuhlp...(a)optimum.net> wrote in message
>>>> >>>news:O$meaHKNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>> >>>> "Kenneth A. Larsen" <Lars...(a)verizon.net> wrote in message
>>>> >>>>news:OqQgqgCNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>> >>>>> "Leon" <kim.zeth...(a)gmail.com> wrote in message
>>>> >>>>>news:573ad260-1953-468d-b52e-5934af8588fe(a)c10g2000yqi.googlegroups.com...
>>>> >>>>> I see I'm a little unclear
>>>> >>>>> What I mean is i have read ther are a event to be captured when
>>>> >>>>> files
>>>> >>>>> are modified.
>>>> >>>>> That should be included in InstanceOperationEvent - but it does
>>>> >>>>> not
>>>> >>>>> work.
>>>> >>>>> Only 2 events are comming up - creation and deletion
>>>>
>>>> >>>>> On 4 Aug., 16:00, Leon <kim.zeth...(a)gmail.com> wrote:
>>>> >>>>>> Hi
>>>>
>>>> >>>>>> it seem there are only two events responding to wmi
>>>> >>>>>> InstanceOperationEvent.
>>>> >>>>>> namely creation and deletion
>>>>
>>>> >>>>>> nevertheless I see there are a modified also
>>>>
>>>> >>>>>> What am I missing?
>>>>
>>>> >>>>>> I tried this...
>>>>
>>>> >>>>>> strComputer = "."
>>>> >>>>>> Set objWMIService = GetObject("winmgmts:" _
>>>> >>>>>> & "{impersonationLevel=impersonate}!\\" & _
>>>> >>>>>> strComputer & "\root\cimv2")
>>>> >>>>>> Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
>>>> >>>>>> ("SELECT * FROM __InstanceOperationEvent WITHIN 0.1 WHERE " _
>>>> >>>>>> & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
>>>> >>>>>> & "TargetInstance.GroupComponent= " _
>>>> >>>>>> & "'Win32_Directory.Name=""C:\\\\temp\\\
>>>> >>>>>> \myfolder""'")
>>>> >>>>>> Do
>>>> >>>>>> Set objLatestEvent = colMonitoredEvents.NextEvent
>>>> >>>>>> msgbox "event is " & objLatto estEvent.path_.class
>>>> >>>>>> loop
>>>>
>>>> >>>>>> Cheers
>>>>
>>>> >>>>> Dear Leon,
>>>> >>>>> You forgot to check you're spelling and grammar. And I think what
>>>> >>>>> you're missing is you should do 2 things with those files you
>>>> >>>>> typed on
>>>> >>>>> this E-Mail is you could type them in MS-Dos Prompt if you have
>>>> >>>>> that
>>>> >>>>> on you're computer. Or if you have those files, you can see if
>>>> >>>>> you
>>>> >>>>> have them in Windows Explorer. If you have any problems, please
>>>> >>>>> let me
>>>> >>>>> know by emailing me at 2 addresses. LarsenK(a)verizon.net or
>>>> >>>>> kuhlpc(a)optimum.net.
>>>>
>>>> >>>>> From,
>>>> >>>>> Kenny- Skjul tekst i anf�rselstegn -
>>>>
>>>> - Vis tekst i anf�rselstegn -
>>>
>
>


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:OsRv9GLQLHA.4988(a)TK2MSFTNGP04.phx.gbl...
>
> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
> news:OLyAwfwNLHA.1172(a)TK2MSFTNGP04.phx.gbl...
>>
>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>> news:%23GotpxjNLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>
>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>> news:O$meaHKNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>
>>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>>> news:OqQgqgCNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>
>>>>> "Leon" <kim.zethsen(a)gmail.com> wrote in message
>>>>> news:573ad260-1953-468d-b52e-5934af8588fe(a)c10g2000yqi.googlegroups.com...
>>>>> I see I'm a little unclear
>>>>> What I mean is i have read ther are a event to be captured when files
>>>>> are modified.
>>>>> That should be included in InstanceOperationEvent - but it does not
>>>>> work.
>>>>> Only 2 events are comming up - creation and deletion
>>>>>
>>>>> On 4 Aug., 16:00, Leon <kim.zeth...(a)gmail.com> wrote:
>>>>>> Hi
>>>>>>
>>>>>> it seem there are only two events responding to wmi
>>>>>> InstanceOperationEvent.
>>>>>> namely creation and deletion
>>>>>>
>>>>>> nevertheless I see there are a modified also
>>>>>>
>>>>>> What am I missing?
>>>>>>
>>>>>> I tried this...
>>>>>>
>>>>>> strComputer = "."
>>>>>> Set objWMIService = GetObject("winmgmts:" _
>>>>>> & "{impersonationLevel=impersonate}!\\" & _
>>>>>> strComputer & "\root\cimv2")
>>>>>> Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
>>>>>> ("SELECT * FROM __InstanceOperationEvent WITHIN 0.1 WHERE " _
>>>>>> & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
>>>>>> & "TargetInstance.GroupComponent= " _
>>>>>> & "'Win32_Directory.Name=""C:\\\\temp\\\
>>>>>> \myfolder""'")
>>>>>> Do
>>>>>> Set objLatestEvent = colMonitoredEvents.NextEvent
>>>>>> msgbox "event is " & objLatto estEvent.path_.class
>>>>>> loop
>>>>>>
>>>>>> Cheers
>>>>>
>>>>> Dear Leon,
>>>>> You forgot to check you're spelling and grammar. And I think what
>>>>> you're missing is you should do 2 things with those files you typed on
>>>>> this E-Mail is you could type them in MS-Dos Prompt if you have that
>>>>> on you're computer. Or if you have those files, you can see if you
>>>>> have them in Windows Explorer. If you have any problems, please let me
>>>>> know by emailing me at 2 addresses. LarsenK(a)verizon.net or
>>>>> kuhlpc#2(a)optimum.net.
>>>>>
>>>>> From,
>>>>> Kenny
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:esU6lKLQLHA.4988(a)TK2MSFTNGP04.phx.gbl...
>
> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
> news:u74GfILQLHA.4828(a)TK2MSFTNGP05.phx.gbl...
>>
>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>> news:OsRv9GLQLHA.4988(a)TK2MSFTNGP04.phx.gbl...
>>>
>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>> news:OLyAwfwNLHA.1172(a)TK2MSFTNGP04.phx.gbl...
>>>>
>>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>>> news:%23GotpxjNLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>>>
>>>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>>>> news:O$meaHKNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>>
>>>>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>>>>> news:OqQgqgCNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>>>
>>>>>>> "Leon" <kim.zethsen(a)gmail.com> wrote in message
>>>>>>> news:573ad260-1953-468d-b52e-5934af8588fe(a)c10g2000yqi.googlegroups.com...
>>>>>>> I see I'm a little unclear
>>>>>>> What I mean is i have read ther are a event to be captured when
>>>>>>> files
>>>>>>> are modified.
>>>>>>> That should be included in InstanceOperationEvent - but it does not
>>>>>>> work.
>>>>>>> Only 2 events are comming up - creation and deletion
>>>>>>>
>>>>>>> On 4 Aug., 16:00, Leon <kim.zeth...(a)gmail.com> wrote:
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> it seem there are only two events responding to wmi
>>>>>>>> InstanceOperationEvent.
>>>>>>>> namely creation and deletion
>>>>>>>>
>>>>>>>> nevertheless I see there are a modified also
>>>>>>>>
>>>>>>>> What am I missing?
>>>>>>>>
>>>>>>>> I tried this...
>>>>>>>>
>>>>>>>> strComputer = "."
>>>>>>>> Set objWMIService = GetObject("winmgmts:" _
>>>>>>>> & "{impersonationLevel=impersonate}!\\" & _
>>>>>>>> strComputer & "\root\cimv2")
>>>>>>>> Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
>>>>>>>> ("SELECT * FROM __InstanceOperationEvent WITHIN 0.1 WHERE " _
>>>>>>>> & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
>>>>>>>> & "TargetInstance.GroupComponent= " _
>>>>>>>> & "'Win32_Directory.Name=""C:\\\\temp\\\
>>>>>>>> \myfolder""'")
>>>>>>>> Do
>>>>>>>> Set objLatestEvent = colMonitoredEvents.NextEvent
>>>>>>>> msgbox "event is " & objLatto estEvent.path_.class
>>>>>>>> loop
>>>>>>>>
>>>>>>>> Cheers
>>>>>>>
>>>>>>> Dear Leon,
>>>>>>> You forgot to check you're spelling and grammar. And I think what
>>>>>>> you're missing is you should do 2 things with those files you typed
>>>>>>> on this E-Mail is you could type them in MS-Dos Prompt if you have
>>>>>>> that on you're computer. Or if you have those files, you can see if
>>>>>>> you have them in Windows Explorer. If you have any problems, please
>>>>>>> let me know by emailing me at 2 addresses. LarsenK(a)verizon.net or
>>>>>>> kuhlpc#2(a)optimum.net.
>>>>>>>
>>>>>>> From,
>>>>>>> Kenny
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


From: Kenneth A. Larsen on

"Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
news:uSXvxILQLHA.620(a)TK2MSFTNGP06.phx.gbl...
>
> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
> news:OsRv9GLQLHA.4988(a)TK2MSFTNGP04.phx.gbl...
>>
>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>> news:OLyAwfwNLHA.1172(a)TK2MSFTNGP04.phx.gbl...
>>>
>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>> news:%23GotpxjNLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>>>>
>>>> "Kenneth A. Larsen" <kuhlpc#2(a)optimum.net> wrote in message
>>>> news:O$meaHKNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>
>>>>> "Kenneth A. Larsen" <LarsenK(a)verizon.net> wrote in message
>>>>> news:OqQgqgCNLHA.4824(a)TK2MSFTNGP05.phx.gbl...
>>>>>>
>>>>>> "Leon" <kim.zethsen(a)gmail.com> wrote in message
>>>>>> news:573ad260-1953-468d-b52e-5934af8588fe(a)c10g2000yqi.googlegroups.com...
>>>>>> I see I'm a little unclear
>>>>>> What I mean is i have read ther are a event to be captured when files
>>>>>> are modified.
>>>>>> That should be included in InstanceOperationEvent - but it does not
>>>>>> work.
>>>>>> Only 2 events are comming up - creation and deletion
>>>>>>
>>>>>> On 4 Aug., 16:00, Leon <kim.zeth...(a)gmail.com> wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> it seem there are only two events responding to wmi
>>>>>>> InstanceOperationEvent.
>>>>>>> namely creation and deletion
>>>>>>>
>>>>>>> nevertheless I see there are a modified also
>>>>>>>
>>>>>>> What am I missing?
>>>>>>>
>>>>>>> I tried this...
>>>>>>>
>>>>>>> strComputer = "."
>>>>>>> Set objWMIService = GetObject("winmgmts:" _
>>>>>>> & "{impersonationLevel=impersonate}!\\" & _
>>>>>>> strComputer & "\root\cimv2")
>>>>>>> Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
>>>>>>> ("SELECT * FROM __InstanceOperationEvent WITHIN 0.1 WHERE " _
>>>>>>> & "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
>>>>>>> & "TargetInstance.GroupComponent= " _
>>>>>>> & "'Win32_Directory.Name=""C:\\\\temp\\\
>>>>>>> \myfolder""'")
>>>>>>> Do
>>>>>>> Set objLatestEvent = colMonitoredEvents.NextEvent
>>>>>>> msgbox "event is " & objLatto estEvent.path_.class
>>>>>>> loop
>>>>>>>
>>>>>>> Cheers
>>>>>>
>>>>>> Dear Leon,
>>>>>> You forgot to check you're spelling and grammar. And I think what
>>>>>> you're missing is you should do 2 things with those files you typed
>>>>>> on this E-Mail is you could type them in MS-Dos Prompt if you have
>>>>>> that on you're computer. Or if you have those files, you can see if
>>>>>> you have them in Windows Explorer. If you have any problems, please
>>>>>> let me know by emailing me at 2 addresses. LarsenK(a)verizon.net or
>>>>>> kuhlpc#2(a)optimum.net.
>>>>>>
>>>>>> From,
>>>>>> Kenny
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Script for deploying SP3
Next: VBS not running