Inherited from
Applies to Objects
File
The IFile interface is useful for directory and file
operations.
Property/Method |
Description |
Gets the date and time when a file or directory was last accessed. |
|
Returns the name of the computer on which a file or directory exists |
|
Gets the date and time when a file or directory was created. |
|
Returns True if the given object has the Archive attribute set |
|
Returns True if the given object is compressed |
|
Returns True if the given object is a directory |
|
Returns True if the given object is hidden |
|
Returns True if the given object is read-only |
|
IsSystem |
Returns True if the given object has the System attribute set |
Gets the location of a file or directory. |
|
Gets the date and time when a file or directory was last modified. |
|
Gets the name of a file or directory in MS DOS (8.3) format. |
|
Returns the full path of a file or directory relative to a computer |
|
Sets the attribute of a file or directory. A preceding minus sign (-) removes an attribute. |
|
Gets the sharename of a file or directory |
|
Gets the size of a file in bytes. It returns Zero for directories. |
|
Starts the sharing of a directory with a new sharename and descriptive string for a specified number of users. |
|
Stops the sharing of an existing shared directory |
|
Gives the name of the volume in which the File/Directory exists. |
|
Returns the type of the volume e.g. NTFS or FAT |