Directory

Object List Next Object

Definition:

This object is used to create and remove directories, inspect and change their attributes, and examine their contents.

Specialized Features:

The following table lists and describes the properties and methods added by Directory. There are no added events.


Properties Use to...


Archive Indicate the status of the directorys Archive attribute.

Attr Indicate the numerical representation of the directorys attributes.

CurrentDir Indicate the current directory Phoenix is using.

Date Read the date the directory was created.

Exists Indicate whether or not the directory exists.

FullPathName Display the complete name of the file in extended format (non-8dot3).

Hidden Indicate the status of the directorys Hidden attribute.

Path Display the directory you are working with.

ReadOnly Indicate the status of the directorys ReadOnly attribute.

ShortPathName Display the complete name of the file in short (8dot3) format.

System Indicate the status of the directorys System attribute.

Time Read the time the directory was created.


Methods Use to...


Create Create a directory.

Destroy Delete a directory, including all of its files and subdirectories.

EnumContents Get the contents of a directory.

Remove Remove an empty directory.

TextUnload Write a text representation of a window.

Copied Features:

Noneimages/Phx00010.gifthis is a top-level object.