Windows built-in objects include File System Object, WScript Shell, ActiveXObject, WMI, Shell, Scripting.Dictionary, ADODB.Connection, ADODB.Recordset, Scripting.FileSystemObject, WshNetwork, etc. Detailed introduction: 1. File System Object, etc.
Operating system for this tutorial: Windows 10 system, Dell G3 computer.
The Windows operating system provides some built-in objects and functions. The following are some common Windows built-in objects:
File System Object (FSO): File system object, used to operate files and folders , including operations such as creation, copying, deletion, and movement.
WScript Shell: Windows script host object, used to perform command line operations, read and write the registry, create shortcuts, etc.
ActiveXObject: An object used to create and operate COM components, and can call the functions provided by the system's built-in COM components.
WMI (Windows Management Instrumentation): An object used to manage and monitor Windows systems. It can obtain system information, perform management operations, etc.
Shell: Object used to access and operate Windows Shell (Resource Manager), which can open files, run programs, operate shortcuts, etc.
Scripting.Dictionary: used to create dictionary objects, which can store key-value pairs and provide related operation methods.
ADODB.Connection: An object used to create and manage database connections, which can connect and operate various databases.
ADODB.Recordset: An object used to process database record sets, which can query, add, update and delete data in the database.
Scripting.FileSystemObject: Object used to operate the file system, which can create, copy, delete, move files and folders, etc.
WshNetwork: An object used to access and operate network resources. It can connect network drives, map network printers, etc.
These Windows built-in objects can be used directly in Windows scripting languages (such as VBScript, JScript). By using these objects, you can easily perform file operations, system management, network access and other tasks.
The above is the detailed content of What are the built-in objects in Windows?. For more information, please follow other related articles on the PHP Chinese website!