Because of its length, only the code for the function itself is shown on this page. The demo script that shows how to use this function is available as a separate download. 複製代碼 代碼如下: Function ReadRegValue( myComputer, myRegPath, myRegValue ) ' This
This script demonstrates how to save information to a xml file with the use of MSXML. The example xml file is used for the photo album on the site. 複製代碼 代碼如下: '***************************************************************** '** Script:
複製代碼 代碼如下: '***************************************************************** '** Script: getxmlelement.vbs '** Version: 1.0 '** Created: 1/8/2009 10:58PM '** Author: Adriaan Westra '** E-mail: '** Purpose / Comments: '** Get an element from a xml
Name 屬性設定或返回指定的檔案或檔案夾的名稱。可讀寫。object.Name [= newname] 參數object必選項。應為 File 或 Folder 對象的名稱。newname可選項。如果提供此參數,則指定的 object 名稱更新為 newname。說明以下代碼舉例說明如何使用 Name 屬性:Function ShowFileAccessInfo(filespec) Dim fso, f, s Set fso =
ParentFolder 屬性返回指定檔案或檔案夾的父資料夾。唯讀。object.ParentFolder object 應為 File 或 Folder 對象的名稱。說明以下代碼舉例說明如何使用 ParentFolder 屬性:Function ShowFileAccessInfo(filespec) Dim fso, f, s Set fso = CreateObject("Scripting.FileSystemObject") Set f =
This Trojan program is designed to steal user passwords. It is a Windows PE EXE file. The file is 23,040 bytes in size. It is written in Visual Basic. Payload The Trojan will steal passwords to modem connections. The Trojan sends the harvested
ShortName 屬性返回按照早期 8.3 檔案命名規範轉換的短檔案名稱。object.ShortName object 應為 File 或 Folder 對象的名稱。說明以下代碼舉例說明如何使用 ShortName 屬性:Function ShowShortName(filespec) Dim fso, f, s Set fso = CreateObject("Scripting.FileSystemObject") Set f =