System.SysUtils.FileCreateSymLink
Delphi
function FileCreateSymLink(const Link, Target: string): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall FileCreateSymLink(const System::UnicodeString Link, const System::UnicodeString Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
FileCreateSymLink creates a symbolic link.
The FileCreateSymLink method creates a symbolic link. The following table lists the parameters expected by this method:
Name | Meaning |
---|---|
Link |
The name of the symbolic link. |
Target |
The string containing the symbolic link. |
Note: The target file or directory must exist when calling the FileCreateSymLink.
Note: FileCreateSymLink can be used on Windows Vista and above.