How VBS gets the Folder object and looks at the properties
This article introduces the knowledge of "how to get Folder objects and view properties by VBS". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Provides access to all properties of the folder.
Description
The following code illustrates how to get a Folder object and view its properties:
Function ShowDateCreated (folderspec) Dim fso, f, Set fso = CreateObject ("Scripting.FileSystemObject") Set f = fso.GetFolder (folderspec) ShowDateCreated = f.DateCreatedEnd Function "how to get Folder objects and view properties" is here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!