Hello,
I am trying to create a collection from a network share so I can search each folder in the network share for certain files. I have the searching part down if I specify a specific folder name but there are hundreds of folders. I cannot figure out how to use VBScript to create a collection of folders from something like \\svrname\myshare$. How can I create a collection from a share name like that and then use something like oFSO.GetFolder("objNetShareFolder" to recursively search for what I need?
Maybe a VBSCript collection is not the answer. Anyone know a way with WMI scripting?
Thank you,
Dan
I am trying to create a collection from a network share so I can search each folder in the network share for certain files. I have the searching part down if I specify a specific folder name but there are hundreds of folders. I cannot figure out how to use VBScript to create a collection of folders from something like \\svrname\myshare$. How can I create a collection from a share name like that and then use something like oFSO.GetFolder("objNetShareFolder" to recursively search for what I need?
Maybe a VBSCript collection is not the answer. Anyone know a way with WMI scripting?
Thank you,
Dan