Help Center

Shortcut.TargetPathproperty

Gets/sets the path of the shortcut's executable.

WindowspropertyCShortcut.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY TargetPath () AS DWSTRING
PROPERTY TargetPath (BYREF wszTargetPath AS WSTRING)

Parameters

NameDescription
wszTargetPathA string containing the path of the shortcut's executable.

Return value

The path of the shortcut's executable.

Description

Gets/sets the path of the shortcut's executable.

Reference

  • Include file CShortcut.inc
  • Documented in Windows/Windows Script/Shortcut Classes.md
  • Topic: Shortcut Classes