DestFileItem
返回关于目标文件的信息。
属性 |
类型 |
说明 |
示例 |
|---|---|---|---|
ADS |
String |
路径的 ADS 部分 |
C:\windows\system32\notepad.exe:example -> example |
Extension |
String |
文件扩展名 |
C:\windows\system32\notepad.exe -> exe |
FileName |
String |
带文件扩展名的文件名 |
C:\windows\system32\notepad.exe -> notepad.exe |
FileNameWithoutExtension |
String |
不带文件扩展名的文件名 |
C:\windows\system32\notepad.exe -> notepad |
FullPath |
Path |
包含文件名的文件路径 |
C:\windows\system32\notepad.exe -> C:\windows\system32\notepad.exe |
NameLength |
Int |
名称的长度 |
C:\windows\system32\notepad.exe -> 7 |
Path |
Path |
文件路径 |
C:\windows\system32\notepad.exe -> C:\windows\system32\ |
isSelf |
Bool |
如果操作是由文件本身完成的,则触发(常见于恶意软件自行删除) |
true/false |
DestFileItem 主要与 FileItem 结合使用。
Canary 文件
Path 属性具有用于 Canary 文件的特殊变量。用于指定 Canary 文件路径的值为 %CanaryFile%。
<definition> |
支持的行动
•RenameFile