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, PeterSorry for my english, I hope you understand me.
|