Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the fully qualified path of the shortcut object's target.
Syntax
object.FullName
Arguments
- object
WshUrlShortcut object.
Remarks
String. Read-only.
The FullName property is a read-only string representing the fully qualified path to the shortcut's target.
Legacy Code Example
The following code retrieves the fully qualified path of a URL shortcut.
set oUrlLink = WshShell.CreateShortcut(strDesktop & "\Microsoft Web Site.url")
oUrlLink.TargetPath = "https://www.microsoft.com"
oUrlLink.Save
WScript.Echo oUrlLink.FullName
var oUrlLink = WshShell.CreateShortcut(strDesktop + "\\Microsoft Web Site.url");
oUrlLink.TargetPath = "https://www.microsoft.com";
oUrlLink.Save();
WScript.Echo (oUrlLink.FullName);
Applies To:
See Also
Path Property (Windows Script Host)
WScript Object
WshShortcut Object