Computing.Net > Forums > Programming > Task scheduler - create in XML event filter

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Task scheduler - create in XML event filter

Reply to Message Icon

Name: piotrek99
Date: November 3, 2009 at 13:20:41 Pacific
OS: Windows 7
Subcategory: General
Comment:

Hi all,
I want to set task to windows schedule but I have a problem. I want to set a trigger which is connection of USB storage drive to computer but I don't know how to write it in XML. This USB storage will be only one which triggle task (I want to in something way identify that drive but in what way?).
I wrote that:


Przenośny dysk is a label of my device. That code doesn't work - I don't know how to write it correct.

<QueryList>
  <Query Id="0" Path="System">
    <Select Path="System">*[EventData[Data='\Device\Przenośny dysk']]</Select>
  </Query>
</QueryList>

Help me,
Peter

Sorry for my english, I hope you understand me.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


GNU Public License extracting text from *.pd...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Task scheduler - create in XML event filter

Script help www.computing.net/answers/programming/script-help/9486.html

Batches and Task Schedulers www.computing.net/answers/programming/batches-and-task-schedulers/11829.html

VBscrip Schedule Task www.computing.net/answers/programming/vbscrip-schedule-task/17156.html