Show: Delphi
C++
Display Preferences
System.IOUtils.TPath.IsExtendedPrefixed
From XE2 API Documentation
Delphi
class function IsExtendedPrefixed(const Path: string): Boolean; inline; static;
C++
static bool __fastcall IsExtendedPrefixed(const System::UnicodeString Path);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Checks whether a given path has an extended prefix.
Call IsExtendedPrefixed to check whether the given path contains an extension prefix.
Paths prefixed with \\?\ or \\?\UNC\ are Windows-specific and can be of very big lengths and not restricted to 255 characters (MAX_PATH). It is a common case today to manage paths longer than 255 characters. Prefixing those with \\?\ solves the problem.