setTarget

fun setTarget(target: String): ShellLink

Deprecated

Set path to target file or directory. Function accepts local paths and network paths. Environment variables are accepted but resolved here and aren't kept in the link.