In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "the use of GetFile method in VBS". In daily operation, I believe many people have doubts about the use of GetFile method in VBS. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "the use of GetFile method in VBS". Next, please follow the editor to study!
Returns the File object corresponding to a file in the specified path.
Object.GetFile (filespec)
Parameter object
Required. Should be the name of FileSystemObject.
Filespec
Required. Filespec is the path (absolute or relative path) to the specified file.
Description
If the specified file does not exist, an error occurs.
The following example illustrates how to use the GetFile method:
Function ShowFileAccessInfo (filespec) Dim fso, f, s Set fso = CreateObject ("Scripting.FileSystemObject") Set f = fso.GetFile (filespec) s = f.Path & "
"s = s &" Created: "& f.DateCreated &"
"s = s &" LastAccessed: "& f.DateLastAccessed &"
"s = s &" LastModified: "& f.DateLastModified ShowFileAccessInfo = sEnd Function at this point, the study on" the use of GetFile method in VBS "is over, hoping to solve everyone's doubts. The combination of theory and practice can help you learn better, go and try it! if you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 222
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.