PyIShellLink.SetRelativePath

SetRelativePath(relPath, reserved)

Sets the relative path for a shell link object.

Parameters

relPath : string

The relative path.

reserved=0 : int

Reserved - must be zero.

Comments

This mechanism allows for moved link files to reestablish connection with relative files through similar-prefix comparisons