Solar_Symlink::_makeWinDir()

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

Creates a directory symlink on Windows systems.

Parameters

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

  • (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 directory symlink on Windows systems.



Local