aqFileSystem Object Methods

Applies to TestComplete 15.20, last modified on January 19, 2022

The aqFileSystem object contains the following methods:

Method List

Name Description
ChangeAttributes Modifies the attribute(s) of the specified file or folder.
CheckAttributes Indicates whether the specified file or folder has certain attribute(s).
CopyFile Copies the specified file(s) to a new location.
CopyFolder Copies the specified folder(s) to another location.
CreateFolder Creates a new folder.
CreateTempFileName Generates and returns a unique name for a temporary file.
DeleteFile Deletes the specified file(s).
DeleteFolder Deletes the specified folder(s).
DisconnectNetworkDrive Discards connection to the specified network folder.
ExcludeTrailingBackSlash Removes the trailing path delimiter from the specified path.
Exists Indicates whether the specified drive, folder or file exists.
ExpandFileName Converts the given relative file name into a fully qualified path name.
ExpandUNCFileName Converts the given relative file name into a fully qualified path name using Universal Naming Convention.
FindFiles Searches a folder for files matching the specified pattern.
FindFolders Searches a folder for subfolders matching the specified pattern.
GetCurrentFolder Returns the fully qualified name of the current folder.
GetDriveInfo Retrieves detailed information about the specified drive volume.
GetFileDrive Extracts the drive part from the specified path.
GetFileExtension Returns the extension part of the specified path.
GetFileFolder Extracts the folder path from the full path.
GetFileInfo Returns an aqFileInfo object that provides information about the specified file.
GetFileName Returns the name and extension parts of the specified path.
GetFileNameWithoutExtension Returns the file name, which is part of the specified path, without the extension.
GetFolderInfo Returns an aqFolderInfo object that provides information about the specified folder.
GetRelativePath Converts a fully qualified path name into a relative path name.
GetShortPathName Returns the given path in the short 8.3 format.
IncludeTrailingBackSlash Ensures that the specified path ends with a trailing path delimiter.
MapNetworkDrive Establishes connection to the specified network folder.
MoveFile Moves the specified file(s) to a new location.
MoveFolder Moves the specified folder(s) to another location.
RenameFile Renames the specified file.
RenameFolder Renames the specified folder or moves it to another folder.
SetCurrentFolder Sets the specified folder as the current folder.

See Also

aqFileSystem Object

Highlight search results