symlink

This function is POSIX-Only.

Creates a symbolic link (symlink).

version(StdDdoc)
void
symlink
(
RO
RL
)
(,
RL link
)

Parameters

original RO

The file that is being linked. This is the target path that's stored in the symlink. A relative path is relative to the created symlink.

The symlink to create. A relative path is relative to the current working directory.

Throws

FileException on error (which includes if the symlink already exists).

Meta