Resolve(
path:path,
[string:flags]
)
→ path
j | Resolve junction/softlink target |
s | Resolve shortcut (.lnk) target |
p | Resolve paired folder target |
d | Default dual-display folder |
v | Default Navigation Lock target |
n | Turn on Navigation Lock automatically |
y | Default Synchronize target |
l | Always display primary folder at the left/top |
u | Use path even if it doesn't exist |
i | Ignore the pair |
g | Go up to first existing parent |
This function primarily resolves aliases and environment variables in the provided path.
With the additional flags, it can also resolve the target of shortcuts, junctions and links. It can also be used to find a path's paired folder.
Example:
Output(Resolve("/onedrive")); --> C:\Users\jon\OneDrive
See also: DisplayName