返回快捷方式對(duì)象目標(biāo)的完全限定路徑。
object.FullName
字符串。只讀。
FullName 屬性是一個(gè)表示快捷方式目標(biāo)的完全限定路徑的只讀字符串。
下面的代碼用來(lái)檢索 URL 快捷方式的完全限定路徑。
set oUrlLink = WshShell.CreateShortcut(strDesktop & "\Microsoft Web Site.url")
oUrlLink.TargetPath = "http://www.microsoft.com"
oUrlLink.Save
WScript.Echo oUrlLink.FullName
var oUrlLink = WshShell.CreateShortcut(strDesktop + "\\Microsoft Web Site.url");
oUrlLink.TargetPath = "http://www.microsoft.com";
oUrlLink.Save();
WScript.Echo (oUrlLink.FullName
);
Path 屬性 | WScript 對(duì)象 | WshShortcut 對(duì)象 | WshUrlShortcut 對(duì)象