Solar_Symlink::_makeWinFile()

static protected string Solar_Symlink::_makeWinFile ( string $src , string $tgt , string $dir )

Creates a file symlink on Windows systems.

Parameters

  • (string) $src: The source path of the real file.

  • (string) $tgt: The target path for where to put the symlink.

  • (string) $dir: Change to this directory before creating the symlink, typically the target directory; this helps when making relative symlinks.

Returns

  • (string) Empty on success, or the error message on failure.

Description

Creates a file symlink on Windows systems.



Local