Prev: Script for deploying SP3
Next: VBS not running
From: Leon on 14 Aug 2010 04:34 I see - just looked in newsgroup for mr. Kenneth A. Larsen see what you mean. Thanks ps. would be nice if there was a option for the creater of a thread to ignore posts from certain profiles. On 13 Aug., 00:16, "Al Dunbar" <aland...(a)hotmail.com> wrote: > 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.zeth...(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. Lars...(a)verizon.net or > >> >>>>> kuhlp...(a)optimum.net. > > >> >>>>> From, > >> >>>>> Kenny- Skjul tekst i anførselstegn - > > >> - Vis tekst i anførselstegn -- Skjul tekst i anførselstegn - > > - Vis tekst i anførselstegn -
From: Pegasus [MVP] on 14 Aug 2010 05:09 "Leon" <kim.zethsen(a)gmail.com> wrote in message news:7d08b2ba-a31a-4370-918c-7a13de644a20(a)q22g2000yqm.googlegroups.com... > I see - just looked in newsgroup for mr. Kenneth A. Larsen > see what you mean. > Thanks > > ps. would be nice if there was a option for the creater of a thread to > ignore posts from certain profiles. > If you used a newsreader such as OE for your newsgroup activities rather than a web interface then you could filter out spammers and people with a personality problem.
From: Kenneth A. Larsen on 20 Aug 2010 17:50 "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 20 Aug 2010 17:51 "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 20 Aug 2010 17:52
"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 - >> |