Here are some of the less common but very cool features:
The FSO features are rarely understood GetSpecialFolder method returns the path to a specific Windows folder: Windows installation directory; Windows system directory; Windows Temp directory FSO. GetSpecialFolder ([0, 1, or 2]) GetTempName method returns a randomly generated file or directory name used to store temporary data when Getabsolutepathname method returns the absolute path to the folder ( Similar to Server.MapPath).
For example, FSO. Getabsolutepathname ("region") returns a result similar to the following: "C:mydocsmyfolder egion" Getextensionname method returns the extension of the last part of the path ( For example: Fso.getextensionname ("C:docs est.txt") returns TXT) getbasename and Getparentfolder Methods returns the parent folder of the last part of the path ( For example: Fso.getparentfolder ("C:docsmydocs") returns the ' Docs ' drives property returns a collection of all locally available drives to establish a resource-browser-like user interface.
When using the above features, it is best to create a good error-handling code. Because if the required parameters do not exist, you will have trouble with the information.
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