xpath 事件过滤器不起作用

问题描述 投票:0回答:1
xpath event-log windows-task-scheduler
1个回答
3
投票

您可能在查询中使用了错误类型的单引号。在编辑器中很难区分,但是当我在你的问题中看到

 *[EventData[Data[@Name=’TaskName’] and (Data=’\Visual Studio Dark Theme′)]]
时,我怀疑这就是问题所在。

尝试

*[EventData[Data[@Name='TaskName'] and (Data='\Visual Studio Dark Theme')]]

© www.soinside.com 2019 - 2024. All rights reserved.