folder

Object for working with local folders



Working with the folder location on disk
Getting information about the folder
Getting dates by folder
Getting attributes
Setting attributes
Archiving




Working with the folder location on disk

create – create directory
copy – copy the folders
move – transfer the folder
rename renaming a folder
delete – deleting
clear – to clear the contents



Getting information about the folder

is_exist – check the existence of the folder
get_size – get the folder size

get_name - get the folder name
get_disk – get the drive letter of the folder

get_items_count – get the number of items in the folder
get_random_file – get a random file path in the folder
get_all_items – get all items from the folder



Getting dates by folder

get_creation_date – get the creation date
get_modification_date – get the last modified date
get_lastacess_date – get the last access date



Get attributes

is_normal – to check whether the attribute NORMAL
is_readonly – to check whether the attribute is READONLY
is_hidden – to check whether the HIDDEN attribute
is_system – check whether the SYSTEM
is_archive – check whether there is an ARCHIVE attribute



Setting attributes

set_normal – set the NORMAL attribute
set_readonly – set the READONLY attribute
set_hidden- set the HIDDEN attribute
set_system – set the SYSTEM attribute
set_archive – set the ARCHIVE attribute



Archiving

rar – save the folder (the system must have Rar)