System.IOUtils.TPath Methods

From RAD Studio API Documentation
Jump to: navigation, search

InheritedProtected
ChangeExtensionpublicChanges the extension of a file or directory indicated by the given path.
CombinepublicCombines two paths strings.
DriveExistspublicChecks whether the drive letter used in the given path actually exists.
GetAlarmsPathpublicReturns the path to the directory where user alarm sound files are stored.
GetAttributespublicReturns the file or directory attributes.
GetCachePathpublicReturns the path to the directory where your application can store cache files.
GetCameraPathpublicReturns the path to the directory where user pictures taken with a camera are stored.
GetDirectoryNamepublicExtracts drive and directory parts of a file name.
GetDocumentsPathpublicReturns the path to the directory where user documents are stored.
GetDownloadsPathpublicReturns the path to the directory where user stores downloaded files.
GetExtendedPrefixpublicReturns the extended prefix type for a given path.
GetExtensionpublicExtracts the extension part of a file name.
GetFileNamepublicExtracts and returns the name and extension parts of a file name specified in FileName.
GetFileNameWithoutExtensionpublicExtracts the name part of a file name, without extension.
GetFullPathpublicReturns the absolute path for a given path.
GetGUIDFileNamepublicGenerates a new GUID that can be used as a unique file name.
GetHomePathpublicReturns either the home path of the user or the application's writable scratch directory or storage.
GetInvalidFileNameCharspublic
GetInvalidPathCharspublic
GetLibraryPathpublicReturns the path to a directory to store any data that your application needs store, regardless of the user, such as files, caches, resources, and preferences.
GetMoviesPathpublicReturns the path to the directory where user movies are stored.
GetMusicPathpublicReturns the path to the directory where user music is stored.
GetPathRootpublicGets the root of the specified path.
GetPicturesPathpublicReturns the path to the directory where user pictures are stored.
GetPublicPathpublicReturns the path to the directory where you can store application data that can be shared with other applications.
GetRandomFileNamepublicGenerates a new random file name.
GetRingtonesPathpublicReturns the path to the directory where user ring tones are stored.
GetSharedAlarmsPathpublicReturns the path to the directory where user shared alarm sound files are stored.
GetSharedCameraPathpublicReturns the path to the directory where user shared pictures taken with a camera are stored.
GetSharedDocumentsPathpublicReturns the path to the directory where documents shared between users are stored.
GetSharedDownloadsPathpublicReturns the path to the directory where user stores shared downloaded files.
GetSharedMoviesPathpublicReturns the path to the directory where user shared movies are stored.
GetSharedMusicPathpublicReturns the path to the directory where user shared music is stored.
GetSharedPicturesPathpublicReturns the path to the directory where user shared pictures are stored.
GetSharedRingtonesPathpublicReturns the path to the directory where user shared ring tones are stored.
GetTempFileNamepublicGenerates a unique temporary file.
GetTempPathpublicReturns the path to a directory to store temporary files.
HasExtensionpublicChecks whether a given file name has an extension part.
HasValidFileNameCharspublicChecks whether a given file name contains only allowed characters.
HasValidPathCharspublicChecks whether a given path string contains only allowed characters.
IsDriveRootedpublicChecks whether a given path is absolute and starts with a drive letter.
IsExtendedPrefixedpublicChecks whether a given path has an extended prefix.
IsPathRootedpublicChecks whether a given path is relative or absolute.
IsRelativePathpublic
IsUNCPathpublicChecks whether a given path is in UNC (Universal Naming Convention) format.
IsUNCRootedpublicChecks whether the given path is UNC-rooted, where UNC stands for Universal Naming Convention.
IsValidFileNameCharpublicChecks whether a given character is allowed in a file name.
IsValidPathCharpublicChecks whether a given character is allowed in a path string.
MatchesPatternpublicReturns True if the FileName matches the specified Pattern.
SetAttributespublicSets the file or directory attributes.