![]() | DirEx 方法 |
DirEx 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() ![]() | CreateDir |
创建一个目录
|
![]() ![]() | CreateYearMonthDayFolder |
创建年月日文件夹,末尾包括\
|
![]() ![]() | CreateYearMonthFolder |
创建年月文件夹,末尾包括\
|
![]() ![]() | CurrentDir |
当前可执行文件路径,末尾包括文件夹分隔符(windows为\,linux为/)
|
![]() ![]() | DeleteDir |
删除指定的文件夹
|
![]() ![]() | EmptyDir |
清空指定的文件夹,但不删除文件夹
|
![]() ![]() | Exists |
检测指定目录是否存在
|
![]() ![]() | GetDirectories |
获取指定目录中的匹配目录
|
![]() ![]() | GetFiles |
获取指定目录中的匹配文件
|
![]() ![]() | GetFileSystemEntries |
获取指定目录中的匹配项(文件或目录)
|
![]() ![]() | OpenDir |
调用系统资源管理器打开文件夹,如果是文件则选中文件
|
![]() ![]() | SelectDir |
选择文件夹
|
![]() ![]() | TempPath |
Temp文件夹,末尾包括\
|
![]() ![]() | TempRandomPath |
Temp文件夹下唯一的新建临时文件夹,末尾包括\
|
![]() ![]() | TryDelete |
尝试删除非空文件夹
|