FileRecycleEmpty

首页 

描述 функции



FileRecycleEmpty
down2

清除回收站.

 

FileRecycleEmpty(['source'])

参数

source

[可选] 用于清空的根路径。如果未指定,则清除所有设备的回收站的内容.

返回值

成功:

返回 1.

错误:

返回 0.(回收站不能清空,见下文).

注释:

该功能需要系统中存在IE4+.

 

该函数可以通过命令调用 exect

参见:

FileDelete, FileRecycle

例子
copy

exect=FileRecycleEmpty('C:\') ;; 清除驱动器C:\上的回收站

 

exect=FileRecycleEmpty() ;; 清除所有盘上的垃圾

up2

tcimage © Аверин Андрей для Total Commander Image Averin-And@yandex.ru