System.IOUtils.TFile.CreateSymLink
Delphi
class function CreateSymLink(const Link, Target: string): Boolean; static;
C++
static bool __fastcall CreateSymLink(const System::UnicodeString Link, const System::UnicodeString Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TFile |
Description
CreateSymLink creates a symbolic link.
The CreateSymLink 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 CreateSymLink.
Note: CreateSymLink can be used on Windows Vista and later versions of Windows.