I want to get number of sub-folders of a specific folder via VB script
strFolder = "D:\MainFolder\"
Count = strFolder.Subfolders
Echo count
Above code is just an example algorithm for my purpose code
Surprise:
>> WScript.Echo goFS.GetFolder(".\").Subfolders.Count
>>
5
(you need a FSO in goFS, thou)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.