欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Windows 腳本宿主  

復(fù)制快捷方式

復(fù)制快捷方式需要用到文件系統(tǒng)對(duì)象 (FSO)。下面的腳本將演示如何使用文件系統(tǒng)對(duì)象來(lái)復(fù)制快捷方式。

// JScript。
Shell = new ActiveXObject("WScript.Shell");
FSO = new ActiveXObject("Scripting.FileSystemObject");
DesktopPath = Shell.SpecialFolders("Desktop") + "\\MSDN Scripting url";
MyDocumentsPath = Shell.SpecialFolders("MyDocuments") + "\\"
FSO.CopyFile(DesktopPath,MyDocumentsPath);

' VBScript。
Set Shell = CreateObject("WScript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
DesktopPath = Shell.SpecialFolders("Desktop") + "\MSDN Scripting.url"
MyDocumentsPath = Shell.SpecialFolders("MyDocuments") + "\\"
FSO.CopyFile DesktopPath,MyDocumentsPath

請(qǐng)參閱

管理快捷方式