Path Manipulation Routines

From RAD Studio

Go Up to API Categories Index

This topic lists all path manipulation routines.

Member Description

System.SysUtils.AnsiCompareFileName

Compares file names based on the current locale.

System.SysUtils.AnsiLowerCaseFileName

Converts a file name to lowercase.

System.IOUtils.TPath.ChangeExtension

Changes the extension of a file or directory indicated by the given path.

System.SysUtils.ChangeFileExt

Changes the extension of a file name.

System.SysUtils.ChangeFilePath

Changes the path of a file name.

System.SysUtils.DirectoryExists

Determines whether a specified directory exists.

System.IOUtils.TPath.Combine

Combines two paths strings.

System.IOUtils.TPath.DriveExists

Checks whether the drive letter used in the given path actually exists.

System.SysUtils.ExcludeTrailingBackslash

Returns a path name without a trailing delimiter.

System.SysUtils.ExcludeTrailingPathDelimiter

Returns a path name without a trailing delimiter.

System.SysUtils.ExpandFileName

Returns the full path name for a relative file name.

System.SysUtils.ExpandFileNameCase

Returns the full path name for a relative file name on a case-sensitive file system.

System.SysUtils.ExpandUNCFileName

Returns the full path of a file name in UNC format, if appropriate.

System.SysUtils.ExtractFileDir

Extracts the drive and directory parts from FileName.

System.SysUtils.ExtractFileDrive

Returns the drive portion of a file name.

System.SysUtils.ExtractFileExt

Returns the extension portions of a file name.

System.SysUtils.ExtractFileName

Extracts the name and extension parts of a file name.

System.SysUtils.ExtractFilePath

Returns the drive and directory portions of a file name.

System.SysUtils.ExtractRelativePath

Returns a relative path name, relative to a specific base directory.

System.SysUtils.ExtractShortPathName

Converts a file name to the short 8.3 form.

System.IOUtils.TPath.GetAttributes

Returns the file or directory attributes.

System.IOUtils.TPath.GetDirectoryName

Extracts drive and directory parts of a file name.

System.IOUtils.TPath.GetExtendedPrefix

Returns the extended prefix type for a given path.

System.IOUtils.TPath.GetExtension

Extracts the extension part of a file name.

System.IOUtils.TPath.GetFileName

Extracts the name and extension parts of a file name.

System.IOUtils.TPath.GetFileNameWithoutExtension

Extracts the name part of a file name, without extension.

System.IOUtils.TPath.GetFullPath

Returns the absolute path for a given path.

System.IOUtils.TPath.GetGUIDFileName

Generates a new GUID that can be used as a unique file name.

System.IOUtils.TPath.GetHomePath

Returns the user's home path.

System.IOUtils.TPath.GetRandomFileName

Generates a new random file name.

System.IOUtils.TPath.GetTempFileName

Generates a unique temporary file.

System.IOUtils.TPath.GetTempPath

Returns the path to the system temporary directory.

System.IOUtils.TPath.HasExtension

Checks whether a given file name has an extension part.

System.IOUtils.TPath.HasValidFileNameChars

Checks whether a given file name contains only allowed characters.

System.IOUtils.TPath.HasValidPathChars

Checks whether a given path string contains only allowed characters.

System.SysUtils.IncludeTrailingBackslash

Ensures that the path name ends with delimiter.

System.SysUtils.IncludeTrailingPathDelimiter

Ensures that the path name ends with delimiter.

System.IOUtils.TPath.IsDriveRooted

Checks whether a given path is absolute and starts with a drive letter.

System.IOUtils.TPath.IsExtendedPrefixed

Checks whether a given path has an extended prefix.

System.SysUtils.IsPathDelimiter

Indicates whether the byte at a specified position in a string is the path delimiter.

System.IOUtils.TPath.IsPathRooted

Checks whether a given path is relative or absolute.

System.IOUtils.TPath.IsUNCPath

Checks whether a given path is in UNC (Universal Naming Convention) format.

System.IOUtils.TPath.IsUNCRooted

Checks whether the given path is UNC-rooted, where UNC stands for Universal Naming Convention.

System.IOUtils.TPath.IsValidFileNameChar

Checks whether a given character is allowed in a file name.

System.IOUtils.TPath.IsValidPathChar

Checks whether a given character is allowed in a path string.

Vcl.FileCtrl.MinimizeName

Shortens a fully qualified path name so that it can be drawn with a specified length limit.

System.SysUtils.SameFileName

Compares file names based on the current locale.

System.IOUtils.TPath.SetAttributes

Sets the file or directory attributes.

System.IOUtils.TFile.CreateSymLink

Creates a symbolic link. See System.SysUtils.TSymLinkRec.


See Also