Introduction to FileSystemObject and scripting Runtime Library Reference

Source: Internet
Author: User

Introduction to FileSystemObject and scripting Runtime Library Reference

FileSystemObject(FSO) object mode, which allows you to use more familiar attributes, methods, and eventsObject. MethodTo process folders and files.

Use this object-based tool and:

  • HTML to create Web pages
  • Windows Scripting host to create a batch of files for Microsoft Windows
  • Script control is used to edit scripts for applications developed in other languages.

Important security issues are caused by the use of FSO on the client, which provides potentially undesirable access to the local file system on the client. Assuming that this document uses the FSO object mode, to create a script executed on the Internet web page of the server. Because the server is used, Internet Explorer's default security settings cannot be used by clients.FileSystemObjectObject. Overwriting the default values may cause undesirable access to the file system on the Local Computer, resulting in full damage to the integrity of the file system and data loss or worse.

The FSO object mode enables applications on the server to create, change, move, and delete folders, or detect whether a specific folder exists. If so, you can also find information about folders, such as the name, the date that was created or last modified, and so on.

The FSO Object Mode also makes File Processing easy. When processing files, the main goal is to store data in an accessible format in a valid space and resources. This requires the ability to create files, insert and change data, and output (read) data. Because storing data in a database, such as access or SQL Server, will increase the overhead of applications, therefore, storing data in binary or text files may be the most effective solution. This overhead may not be expected, or data access requirements may not require any additional features associated with a fully functional database.

The FSO Object Mode contained in the scripting Library (scrrun. dll ).TextstreamObject To create and operate text files. Although it does not support the creation or operation of binary files, it is planned to support binary files in the future.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.