Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
SourceRoot = "c:\program files" strFileType = ".txt" FileListName = "c:\myfile.txt" FindFiles SourceRoot, strFileType, FileListName Set oFSO = CreateObject("Scripting.FileSystemObject") if oFSO.FileExists(FileListName) then WScript.Echo "File is there" else WScript.Echo "File is not there" end if Sub FindFiles(BaseRoot, FileType, DestFile) Dim sCommand sCommand = "cmd /c dir/s/b '"&BaseRoot&"*"&FileType&"' > '"&DestFile&"'" oShell.Run(sCommand),0,True End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.