Click or drag to resize

FileSpec Methods

X#

The FileSpec type exposes the following members.

Functions
  NameDescription
Public methodCode exampleAppendToPath
Append a subdirectory to the end of this file specification's path.
Public methodCode exampleCopy
Make a copy of the file represented by this file specification.
Public methodDelete
Delete the file represented by this file specification.
Public methodError
Provide a method for handling error conditions raised during FileSpec processing. This is an event handler: it is automatically called by other methods; the developer does not normally need to call the error method, but might want to replace or amend it.
Public methodCode exampleFind
Search the disk for the file represented by this file specification, indicate if it exists, and if so, store its full path information in this file specification for future reference.
Public methodCode exampleMove
Move the file represented by this file specification to a new location.
Public methodCode examplePathUp
Remove the last subdirectory from the end of this file specification's path.
Public methodCode exampleRename
Rename the file represented by this file specification.
Top
See Also